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 [[ "$FORCE_RUN" != true ]]; then
|
||||||
if [[ "$UPTIME_GATE_PASS" != 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
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$INTERVAL_GATE_PASS" != true ]]; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ fi
|
|||||||
# ━━━ Array Check ━━━
|
# ━━━ Array Check ━━━
|
||||||
# ==============================================================================================
|
# ==============================================================================================
|
||||||
if ! df --output=fstype /mnt/user 2>/dev/null | grep -q shfs; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user