Hi all
Not sure if you're still having issues with this. But a simpler solution would be an Android app like foldersync. This can sync cloud and local storage and can be scheduled to run as often as you want it to. I was just looking into this same issue and this is my resolution.
Hope this helps