You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i execute the command gupload /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d from the shell everything works fine. Files are uploaded to my Google drive folder. But when I schedule the same command in cron, files are not uploaded. Cron executes the command but files are not uploaded.
[EDIT] Using absolute path to gupload fix the problem:
00 14 * * * /home/ubuntu/.google-drive-upload/bin/gupload /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d
The text was updated successfully, but these errors were encountered:
demodoo
changed the title
Files are not uploaded to Google Drive if gupload is executed from cron
Files are not uploaded to Google Drive if gupload is executed from cron [FIXED]
Jun 22, 2023
When i execute the command gupload /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d from the shell everything works fine. Files are uploaded to my Google drive folder. But when I schedule the same command in cron, files are not uploaded. Cron executes the command but files are not uploaded.
Crontab entry:
00 14 * * * gupload /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d
[EDIT] Using absolute path to gupload fix the problem:
00 14 * * * /home/ubuntu/.google-drive-upload/bin/gupload /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d
The text was updated successfully, but these errors were encountered: