Files
troupe-standup/wizard-work/quill/health-monitor-cron.yaml
T

17 lines
438 B
YAML

cron:
name: health-monitor
schedule: "*/5 * * * *"
command: >
curl -sS -o /dev/null -w "%{http_code}"
https://httpbin.org/status/200
|| echo "FAIL"
log: /root/.hermes/cron/health-monitor.log
expected_http_ok: "200"
expected_fail: "FAIL"
notify: all
context: |
Endpoint probe for httpbin /status/200.
Expected output: 200.
Non-200 or curl failure logs FAIL.
Designed for 5-minute health checks.