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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user