From 254b400caf96d4c721b2d6ae8114c1228ab305ba Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Fri, 17 Jul 2026 01:29:06 -0400 Subject: [PATCH] Add missing RUNTIME MODES section, document --log arr_cache_prefill.sh had no RUNTIME MODES section at all; arr_full_rescan.sh had one but didn't mention --log despite supporting it via parse_args. Comment-only. --- Arrs_Stack/arr_cache_prefill.sh | 18 ++++++++++++++++++ Arrs_Stack/arr_full_rescan.sh | 1 + 2 files changed, 19 insertions(+) diff --git a/Arrs_Stack/arr_cache_prefill.sh b/Arrs_Stack/arr_cache_prefill.sh index 9956c6e..581bd43 100755 --- a/Arrs_Stack/arr_cache_prefill.sh +++ b/Arrs_Stack/arr_cache_prefill.sh @@ -62,6 +62,24 @@ # not a job that fires every half hour. # # ============================================================================================== +# RUNTIME MODES +# ============================================================================================== +# +# arr_cache_prefill.sh +# Normal run — populates all three arr caches, or skips cleanly per-arr as described +# under OPERATIONAL SAFEGUARDS above. No --dry-run/--status mode: this script only ever +# reads and writes cache, there's no destructive action to preview and no separate state +# worth inspecting beyond the cache files themselves (see Tools/arr_rescan_monitor.sh +# --status for cache age/active-rescan inspection). +# +# arr_cache_prefill.sh --log +# Verbose — per-arr detail as each one is checked/fetched/skipped. +# +# arr_cache_prefill.sh ARR_PREFILL_WAIT_MINUTES=1 +# Override the reachability-retry ceiling for this run only (parse_args VAR=VAL +# mechanism) — this is how CRITICAL_MAINTENANCE_SCRIPTS invokes it every 30min. +# +# ============================================================================================== SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" diff --git a/Arrs_Stack/arr_full_rescan.sh b/Arrs_Stack/arr_full_rescan.sh index 13ed4ae..ad2032b 100755 --- a/Arrs_Stack/arr_full_rescan.sh +++ b/Arrs_Stack/arr_full_rescan.sh @@ -57,6 +57,7 @@ # # arr_full_rescan.sh — normal run # arr_full_rescan.sh --dry-run — preview which arrs would be rescanned, trigger nothing +# arr_full_rescan.sh --log — verbose, per-arr detail # # ==============================================================================================