2015-12-26 13:39:22 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# This script is run daily (at 3am each night).
|
|
|
|
|
|
|
|
# Take a backup.
|
2016-01-02 22:00:51 +00:00
|
|
|
management/backup.py | management/email_administrator.py "Backup Status"
|
2015-12-26 13:39:22 +00:00
|
|
|
|
|
|
|
# Run status checks and email the administrator if anything changed.
|
2016-01-02 22:00:51 +00:00
|
|
|
management/status_checks.py --show-changes | management/email_administrator.py "Status Checks Change Notice"
|