1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

merge #587 - move backup and nightly status checks to 3am in system time

previously these were run in a cron.daily script which per crontab is run at 6:25 am local time
This commit is contained in:
Joshua Tauberer
2015-12-26 08:42:58 -05:00
3 changed files with 20 additions and 17 deletions

8
management/daily_tasks.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# This script is run daily (at 3am each night).
# Take a backup.
management/backup.py
# Run status checks and email the administrator if anything changed.
management/status_checks.py --show-changes --smtp