Scheduler UI polish + per-script verbose logging + coffee report as orchestrator
- Cron and Advanced button vertically aligned in their respective rows - Verbose checkbox next to Log button — saves immediately, persists to schedule.json - --log flag injected into cron lines, manual Run, and Dry Run when verbose enabled - Coffee report rewritten as lean orchestrator over COFFEE_REPORT_SCRIPTS array - COFFEE_REPORT_SCRIPTS added to master.conf (7 Sunday monitor scripts) - Scheduler Advanced tab auto-discovers children via existing array detection
This commit is contained in:
@@ -422,6 +422,20 @@
|
||||
MONTHLY_RUN_INTERVAL_DAYS=30 # minimum days since last run before running again
|
||||
MONTHLY_LAST_RUN_FILE="/boot/config/monthly_maintenance_last_run.db"
|
||||
|
||||
# ━━━ Sunday Morning Coffee Report ━━━
|
||||
# Orchestrator that runs all Sunday monitor scripts in sequence.
|
||||
# Schedule: 0 7 * * 0 (Sunday 7am — after weekly_sync_maintenance.sh finishes at ~3am)
|
||||
# Each script runs independently and notifies on its own findings.
|
||||
COFFEE_REPORT_SCRIPTS=(
|
||||
"Monitors/zfs_memory_snapshot.sh" # ZFS pool health + ARC + Docker memory snapshot
|
||||
"Monitors/smart_health.sh" # drive SMART attributes — reallocated, pending, temp
|
||||
"Monitors/cert_monitor.sh" # SSL certificate expiry for all configured domains
|
||||
"Monitors/backup_verify.sh" # rsync mirror integrity via independent MD5 checksums
|
||||
"Monitors/bandwidth_monitor.sh" # weekly rsync transfer totals and per-share breakdown
|
||||
"Monitors/emby_session_report.sh" # Emby usage — streams, users, library, transcode ratio
|
||||
"Monitors/weekly_health_digest.sh" # aggregated digest — watchdogs, fallback, skip list
|
||||
)
|
||||
|
||||
# ==============================================================================================
|
||||
# ── RSYNC ─────────────────────────────────────────────────────────────────────────────────────
|
||||
# ==============================================================================================
|
||||
|
||||
Reference in New Issue
Block a user