Developer builds one-command health checker after silent crash loop hit 26 automation jobs
A developer discovered that nearly half of his 26 macOS launchd automation jobs had silently failed, with one stuck in a crash loop for six days in June 2026 without any alerts. The failure came to light only after a job loss eliminated his salary, revealing that side-income automation worth roughly ¥600,000 per month had been quietly degrading. macOS launchd does not alert users when a job crashes; it simply waits for the next scheduled run, making silent failures easy to miss at scale. To address this, the developer built automation-health.sh, a single script that checks nine categories of system health — including job status, log freshness, HTTP reachability, and file permissions — and exits with code 1 if any item fails. The script is designed to integrate with Claude's StopHook and cron so that health verification happens automatically, removing the need for manual checks.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in