gupload icon indicating copy to clipboard operation
gupload copied to clipboard

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

Open demodoo opened this issue 2 years ago • 1 comments

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

demodoo avatar Jun 16 '23 16:06 demodoo

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"

ThunHour avatar Aug 01 '23 10:08 ThunHour