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:
@@ -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)"
|
||||
|
||||
|
||||
@@ -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
|
||||
#
|
||||
# ==============================================================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user