I like to keep a folder on my machine called ‘The Drop,’ where I can just drop files in, and they are moved to Google Drive into a folder there for organizing later.
I’d like to always keep all files dropped into there moved over. Would it be a bad idea to run a cron job every 5 minutes to rclone move everything in that directory? Would that cause problems if I had a huge number of files in there and they were still trying to move when the next job initiated?
In general, you don’t want to run a job when another one is already running.
I use a pretty simple lock check and that ensures that if a job is still running, it waits for the other to finish so you aren’t hitting a race when trying to upload things.