added manual neuclear option to arrs cleanup
This commit is contained in:
+56
-32
@@ -49,6 +49,14 @@
|
||||
# ├── user_script_plug-in.sh # This file — copy into User Scripts plugin
|
||||
# ├── git_pull_execute.sh # Pulls latest scripts from Gitea repo
|
||||
# │
|
||||
# ├── Orchestrators/
|
||||
# │ ├── array_start.sh # Single entry point — launches all array-start scripts
|
||||
# │ ├── daily_sync_maintenance.sh # Daily — git pull, media sync, media mgmt, docker restart
|
||||
# │ ├── weekly_sync_maintenance.sh # Weekly — critical sync + updates, docker weekly restart
|
||||
# │ ├── media_management.sh # Permissions + cleaners + arr cleanup — run manually
|
||||
# │ ├── transcode_management.sh # Cleanup then manager every 3min + daily stats
|
||||
# │ └── README-Orchestrators.md
|
||||
# │
|
||||
# ├── Failover/
|
||||
# │ ├── failover.sh # Mutual container failover — runs continuously
|
||||
# │ ├── failover_test.sh # Controlled failover simulation — run manually
|
||||
@@ -64,16 +72,6 @@
|
||||
# │ ├── zfs_memory_snapshot.sh # Weekly ZFS health and memory diagnostic report
|
||||
# │ └── README-Monitors.md
|
||||
# │
|
||||
# ├── Orchestrators/
|
||||
# │ ├── array_start.sh # Single entry point — launches all array-start scripts
|
||||
# │ ├── daily_sync_maintenance.sh # Daily — git pull, media sync, media mgmt, docker restart
|
||||
# │ ├── weekly_sync_maintenance.sh # Weekly — critical sync + updates, docker weekly restart
|
||||
# │ ├── daily_sync_maintenance.sh # Media shares sync both directions
|
||||
# │ ├── weekly_sync_maintenance.sh # Clean sync + container updates (Emby + auth stack)
|
||||
# │ ├── media_management.sh # Permissions + cleaners + arr cleanup — run manually
|
||||
# │ ├── transcode_management.sh # Cleanup then manager every 3min + daily stats
|
||||
# │ └── README-Orchestrators.md
|
||||
# │
|
||||
# ├── Rsync/
|
||||
# │ ├── rsync.sh # Core rsync script — called per share or profile
|
||||
# │ └── README-Rsync_Setup.md # Rsync-specific setup guide
|
||||
@@ -137,6 +135,47 @@
|
||||
# in real time — symlink flips work correctly for the lifetime of the container.
|
||||
#
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# ━━━ 🚀 Orchestrators — Uncomment the one below you want to run ━━━
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# ━━━ Orchestrators ━━━
|
||||
# Orchestrators are the main scripts — they handle most if not all needed scripts
|
||||
# in a specific order of operations. Each orchestrator owns a domain and runs
|
||||
# everything within it automatically. All scripts below orchestrators can still
|
||||
# be run separately for testing or manual maintenance.
|
||||
#
|
||||
# array_start.sh — At Startup of Array — single entry, launches everything
|
||||
# ramdisk, syslog filter, php-fpm, network connect (one-shot)
|
||||
# system_watchdog, docker_watchdog, failover (continuous loops)
|
||||
#
|
||||
# daily_sync_maintenance.sh — 0 1 * * * (1am daily)
|
||||
# git pull → media share sync → permissions → cleaners →
|
||||
# arr cleanup → docker daily restart
|
||||
#
|
||||
# weekly_sync_maintenance.sh — 30 2 * * 0 (Sunday 2:30am)
|
||||
# stop containers → pull updates → sync Emby + Critical-Data →
|
||||
# start containers → docker weekly restart
|
||||
#
|
||||
# transcode_management.sh — */3 * * * * (every 3 minutes)
|
||||
# transcode cleanup → transcode manager (correct order)
|
||||
#
|
||||
# sunday_morning_coffee_report.sh — 0 7 * * 0 (Sunday 7am)
|
||||
# full weekly system health digest — ready when you wake up ☕
|
||||
# system, array, failover, transcodes, media activity, rsync,
|
||||
# watchdog, security, Emby stats, health summary
|
||||
#
|
||||
# arrs_failed_stalled_recovery.sh — 0 */6 * * * (every 6 hours)
|
||||
# blocklist + re-search failed imports and stalled downloads
|
||||
# across Sonarr, Radarr, and Lidarr automatically
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━
|
||||
#
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/array_start.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/daily_sync_maintenance.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/weekly_sync_maintenance.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/transcode_management.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/sunday_morning_coffee_report.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Media/arrs_failed_stalled_recovery.sh
|
||||
#
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# ━━━ 🚀 Script Commands — Uncomment the one you want to run ━━━
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
#
|
||||
@@ -162,18 +201,6 @@
|
||||
#/mnt/user/appdata/unraid_scripts/Monitors/weekly_health_digest.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Monitors/zfs_memory_snapshot.sh
|
||||
#
|
||||
# ━━━ Orchestrators ━━━
|
||||
# array_start.sh is the single User Scripts entry for array startup.
|
||||
# All other orchestrators are scheduled via cron — not started at array start.
|
||||
#
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/array_start.sh
|
||||
# ^^ set to: At Startup of Array
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/daily_sync_maintenance.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/weekly_sync_maintenance.sh
|
||||
#/mnt/user/appdata/unraid_scripts/Orchestrators/transcode_management.sh
|
||||
# ^^ media_management.sh is absorbed into daily_sync_maintenance.sh via MEDIA_MANAGEMENT_JOBS
|
||||
# ^^ run manually: bash Orchestrators/media_management.sh --dry-run
|
||||
#
|
||||
# ━━━ Rsync — Appdata Profiles ━━━
|
||||
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Arrs_Stack
|
||||
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Critical-Data
|
||||
@@ -325,16 +352,13 @@
|
||||
# emby-failover — every 30-60min via frequent cron above
|
||||
#
|
||||
# ━━━ Weekly — Sunday morning block ━━━
|
||||
# 30 2 * * 0 weekly_sync_maintenance.sh (clean Emby + auth stack — cache resets weekly)
|
||||
# 0 3 * * 0 docker_weekly_restart.sh
|
||||
# 0 5 * * 0 clear_logs.sh
|
||||
# 0 6 * * 0 zfs_memory_snapshot.sh
|
||||
# 0 7 * * 0 smart_health.sh
|
||||
# 0 8 * * 0 weekly_health_digest.sh (weekly profile sends today)
|
||||
# 0 9 * * 0 cert_monitor.sh
|
||||
# 0 10 * * 0 backup_verify.sh
|
||||
# 0 11 * * 0 emby_session_report.sh
|
||||
# 0 11 * * 0 bandwidth_monitor.sh --report
|
||||
# 30 2 * * 0 weekly_sync_maintenance.sh (clean sync + updates + docker weekly restart)
|
||||
# 0 7 * * 0 sunday_morning_coffee_report.sh (weekly health digest — ready when you wake up)
|
||||
#
|
||||
# Individual monitor scripts still available for manual runs:
|
||||
# clear_logs.sh, zfs_memory_snapshot.sh, smart_health.sh
|
||||
# cert_monitor.sh, backup_verify.sh, emby_session_report.sh
|
||||
# weekly_health_digest.sh, bandwidth_monitor.sh --report
|
||||
#
|
||||
# ━━━ Bandwidth monitor ━━━
|
||||
# bandwidth_monitor.sh --log-transfer called automatically by rsync.sh
|
||||
|
||||
Reference in New Issue
Block a user