diff --git a/crontab/crontab-io.txt b/crontab/crontab-io.txt index c2d420a..8854581 100644 --- a/crontab/crontab-io.txt +++ b/crontab/crontab-io.txt @@ -7,6 +7,9 @@ # Backs up Docker container configurations and data 0 2 * * * { echo "Starting Docker backup"; /home/acedanger/shell/backup-docker.sh; echo "Docker backup completed with exit code: $?"; } 2>&1 | logger -t docker-backup -p user.info +# Daily system backup at 0400 with auto-cleanup +0 4 * * * /home/acedanger/shell/crontab/crontab-backup-system.sh backup auto --auto-cleanup 2>&1 | logger -t crontab-backup -p user.info + # Optional: Monitor Docker container health (every 6 hours) # This can help detect if any download services are failing # 0 */6 * * * { echo "Docker health check"; docker ps --format "table {{.Names}}\t{{.Status}}" | grep -v "Up"; } 2>&1 | logger -t docker-health -p user.info