Move remainder container updates from weekly to monthly

Daily updates daily containers, weekly updates its sync-window containers,
monthly now handles everything else via MONTHLY_MAINTENANCE_SCRIPTS.
This commit is contained in:
Gmer4Lfe
2026-06-14 11:07:18 -04:00
parent bfc3cbe204
commit 55f8842dbd
4 changed files with 1461 additions and 36 deletions
+4 -4
View File
@@ -93,7 +93,7 @@
# Enable or disable normal mode. docker_daily_restart.sh runs regardless.
# (default: true)
#
# WEEKLY_REMAINING_UPDATES
# MONTHLY_REMAINING_UPDATES
# Enable or disable remainder mode. (default: true)
#
# PROFILE_CRITICAL_CONTAINER_NAMES[emby|critical-data]
@@ -117,7 +117,7 @@
# docker_update.sh --remainder
# Remainder mode — pull all running containers not in managed lists,
# restart those that received updates, prune dangling images
# Called by weekly_sync_maintenance.sh at the end of the Sunday window
# Called by monthly_maintenance.sh
#
# docker_update.sh --dry-run
# Preview which containers would be pulled without making changes
@@ -170,8 +170,8 @@ detect_hosts
# ━━━ Container Discovery ━━━
# ==============================================================================================
if [[ "$REMAINDER_MODE" == true ]]; then
if [[ "${WEEKLY_REMAINING_UPDATES:-true}" != "true" ]]; then
echo "WEEKLY_REMAINING_UPDATES=false — skipping remainder container updates"
if [[ "${MONTHLY_REMAINING_UPDATES:-true}" != "true" ]]; then
echo "MONTHLY_REMAINING_UPDATES=false — skipping remainder container updates"
exit 0
fi