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.
This commit is contained in:
Gmer4Lfe
2026-07-17 01:29:06 -04:00
parent 976d8d84d7
commit 254b400caf
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -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)"
+1
View File
@@ -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
#
# ==============================================================================================