Commit 82f4f8b2 authored by BuildTools's avatar BuildTools

delete /etc/cron.daily/mailinabox-backup

parent d703b0a2
......@@ -31,9 +31,12 @@ ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox
hide_output update-rc.d mailinabox defaults
# 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;
# /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
EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment