docker_images/odoo/backups/crontab

6 lines
301 B
Plaintext

# daily odoo backup
# 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
30 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.