output: orchestrators — array-not-started and monthly gate-not-met now echo instead of silent log
This commit is contained in:
@@ -163,11 +163,11 @@ fi
|
||||
# ==============================================================================================
|
||||
if [[ "$FORCE_RUN" != true ]]; then
|
||||
if [[ "$UPTIME_GATE_PASS" != true ]]; then
|
||||
log "Uptime gate — ${_uptime_days}d ${_uptime_hrs}h / ${MONTHLY_UPTIME_THRESHOLD_DAYS}d — not yet due"
|
||||
echo "Uptime gate not met — ${_uptime_days}d ${_uptime_hrs}h / ${MONTHLY_UPTIME_THRESHOLD_DAYS}d — no-op"
|
||||
exit 0
|
||||
fi
|
||||
if [[ "$INTERVAL_GATE_PASS" != true ]]; then
|
||||
log "Interval gate — last run ${DAYS_SINCE_LAST_RUN} ago / ${MONTHLY_RUN_INTERVAL_DAYS}d — not yet due"
|
||||
echo "Interval gate not met — last run ${DAYS_SINCE_LAST_RUN} ago / ${MONTHLY_RUN_INTERVAL_DAYS}d — no-op"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -119,7 +119,7 @@ fi
|
||||
# ━━━ Array Check ━━━
|
||||
# ==============================================================================================
|
||||
if ! df --output=fstype /mnt/user 2>/dev/null | grep -q shfs; then
|
||||
log "Array not started — skipping watchdog cycle"
|
||||
echo "Array not started — skipping watchdog cycle"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user