1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

delete /etc/cron.daily/mailinabox-backup

This commit is contained in:
BuildTools 2015-11-06 07:55:48 -05:00
parent d703b0a2a1
commit 82f4f8b2eb

View File

@ -31,9 +31,12 @@ ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox
hide_output update-rc.d mailinabox defaults hide_output update-rc.d mailinabox defaults
# Perform a daily backup. # Perform a daily backup.
if [ -f /etc/cron.daily/mailinabox-backup ]; then
rm /etc/cron.daily/mailinabox-backup
fi
cat > /etc/cron.d/mailinabox-backup << EOF; cat > /etc/cron.d/mailinabox-backup << EOF;
# /etc/cron.d/mailinabox-backup: crontab fragment to run maininabox-backup # /etc/cron.d/mailinabox-backup: crontab fragment to run maininabox-backup
# This executes mailinabox-backup at 3am. # This executes $(pwd)/management/backup.py at 3am.
0 3 * * * root $(pwd)/management/backup.py 0 3 * * * root $(pwd)/management/backup.py
EOF EOF