diff --git a/backups/rsyncvolumes/crontab b/backups/rsyncvolumes/crontab index 6705306..65d6a4f 100644 --- a/backups/rsyncvolumes/crontab +++ b/backups/rsyncvolumes/crontab @@ -1,5 +1,5 @@ # hourly backup -# m h dom mon dow user command +# m h dom mon dow user command 15 * * * * /bin/bash /opt/backup/rsync.sh >> /var/log/cron.log 2>&1 -0 3 * * * /usr/bin/python /opt/backup/plan.py >> /var/log/cron.log 2>&1 +0 3 * * * /usr/bin/python /opt/backup/plan.py >> /var/log/cron.log 2>&1 # empty line needed diff --git a/odoo/backups/crontab b/odoo/backups/crontab index 4e8d685..934a85f 100644 --- a/odoo/backups/crontab +++ b/odoo/backups/crontab @@ -1,5 +1,5 @@ # daily odoo backup -# m h dom mon dow user command +# m h dom mon dow user command 0 2 * * * /bin/su - odoo -c "/bin/bash /home/odoo/backup.sh" >> /var/log/cron.log 2>&1 -10 2 * * * /bin/su - odoo -c "/usr/bin/python /home/odoo/plan.py" >> /var/log/cron.log 2>&1 +10 2 * * * /bin/su - odoo -c "/usr/bin/python /home/odoo/plan.py" >> /var/log/cron.log 2>&1 # empty line required at the end of this file for a valid cron file.