Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files are not uploaded to Google Drive if gupload is executed from cron #3

Open
demodoo opened this issue Jun 16, 2023 · 1 comment

Comments

@demodoo
Copy link

demodoo commented Jun 16, 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

@ThunHour
Copy link

ThunHour commented Aug 1, 2023

please using full path of gupload
linke 00 14 * * * "full path of your gupload" /home/ubuntu/odoo15/develop/backup/ -c odoo_backup -d
for my case I use /root/.google-drive-upload/bin/gupload backup -d
or you can check path by using cmd "sudo which gupload"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants