Merge branch 'main' of github.com:acedanger/shell

This commit is contained in:
Peter Wood
2025-06-27 07:15:34 -04:00
15 changed files with 2537 additions and 101 deletions

View File

@@ -23,6 +23,10 @@
# Validates the integrity of .env backup repository
30 8 * * 0 { echo "Starting .env backup validation"; /home/acedanger/shell/validate-env-backups.sh; echo ".env validation completed with exit code: $?"; } 2>&1 | logger -t env-validation -p user.info
# Daily media backup at 0230 with enhanced logging
# Backs up media server configurations and metadata
30 2 * * * { echo "Starting media backup"; /home/acedanger/shell/backup-media.sh; echo "Media backup completed with exit code: $?"; } 2>&1 | logger -t media-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