At the end of bench init frappe
, I got the following:
INFO:bench.utils:setting up backups
no crontab for frappe
INFO:bench.utils:setting up auto update
Bench frappe initialized
I don’t know how cron
works and am concerned the auto backups will not work. This is my crontab -e
content:
0 */6 * * * cd /home/frappe/frappe && /usr/local/bin/bench --site all backup >> /home/frappe/frappe/logs/backup.log 2>&1
0 10 * * * cd /home/frappe/frappe && /home/frappe/frappe/env/bin/bench update --auto >> /home/frappe/frappe/logs/auto_update_log.log 2>&1
Can anyone explain to me if it means backup won’t work and how do I enable backups in that case?