Add --weekly mode to docker_update.sh for WEEKLY_RESTART_CONTAINERS

Weekly now has the same update→restart pattern as daily. Remainder
excludes weekly containers since they're now owned by this new mode.
This commit is contained in:
Gmer4Lfe
2026-06-14 11:13:23 -04:00
parent 55f8842dbd
commit a2bcd58f78
3 changed files with 81 additions and 26 deletions
+5
View File
@@ -401,6 +401,7 @@
# syncs WEEKLY_SYNC_SHARES → restarts → then iterates WEEKLY_MAINTENANCE_SCRIPTS.
# Schedule: 30 2 * * 0 (Sunday 2:30am)
WEEKLY_MAINTENANCE_SCRIPTS=(
"Docker_Essentials/docker_update.sh --weekly" # pull latest images for WEEKLY_RESTART_CONTAINERS before restart
"Docker_Essentials/docker_weekly_restart.sh" # weekly container restarts after sync
"System_Essentials/clear_logs.sh" # purge aged logs — Sunday only, low priority
"Media/playback_aware_lidarr_discovery.sh" # behavior-driven music discovery using weekly Emby playback history
@@ -408,6 +409,10 @@
"Media/playback_aware_sonarr_discovery.sh" # behavior-driven TV discovery using TMDB recommendations
)
# Pull updates for WEEKLY_RESTART_CONTAINERS before docker_weekly_restart.sh runs.
# Set false to skip — docker_weekly_restart.sh still runs regardless.
WEEKLY_CONTAINER_UPDATES=true
# Pull updates for all running containers NOT in daily/weekly managed lists.
# Ensures every deployed container receives at least one image pull per month.
# Set false to skip.