Off-Topic > Off-Topic - Tiny Tux's Corner
gdrive error when executed as cron job
(1/1)
remus:
Hi all,
I use gdrive + cron to automate backups from a server to a google drive account.
https://github.com/prasmussen/gdrive
When running drive manually from the command line it works fine every time.
When running drive as part of a shell script I get frequent failures to upload.
The error
--- Quote ---Failed to upload file: googleapi: Error 403: Rate Limit Excee
ded, rateLimitExceeded
--- End quote ---
There's a patch I can work into the source and recomile as soon as I get some time.
A discussion about the error here seems to make more sense to me though.
https://productforums.google.com/forum/#!topic/drive/4eg1FFWS3Qg
Does anyone know how I introduce a slight delay in the cron to level out the API workload ?
Thanks for any comments and suggestions :)
Navigation
[0] Message Index
Go to full version