mailinabox/management/daily_tasks.sh

9 lines
219 B
Bash
Executable File

#!/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