Dev.to
7/13/2026

The original title is: "Is Your 24/7 Automation Actually Alive? Checking It With a Single Command"
Original: Is Your 24/7 Automation Actually Alive? Checking It With a Single Command
Short summary
A practical guide to monitoring unattended Claude automation via a single shell script that checks launchd jobs, hooks, and log freshness, returning a GREEN/WARN/FAIL verdict. The author shares real code from ~/.claude/scripts/automation-health.sh covering nine sections of checks including job load status, exit codes, hook permissions, and log staleness. The approach lets you chain follow-up actions via exit codes and catch silent failures that could otherwise go unnoticed for days.
- •Single-command health check for unattended Claude automation returns GREEN/WARN/FAIL
- •Covers launchd jobs, hook permissions, log freshness, and skill generation
- •Exit codes enable chaining with CI or daily brief scripts
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



