Originally published at hafiz.dev
On 9 May, the queued jobs on hafiz.dev started failing and kept failing for the rest of the day. The newsletter send failed. The Dev.to cross-post failed. The homepage answered 200 the whole time, so anything watching it from the outside would have shown green. The cause was a duplicate schedule:run line I had added to root's crontab while checking the scheduler.
That's the gap between "the site is up" and "the app works". Laravel's /up route sits on the first side of it. So in October I wrote a daily check for the second side, called ops:health , that runs inside the app as the web user and sends a Telegram message only when something fails.
It had three bugs in its first week, all mine.
What /up actually checks
Every new Laravel 11+ app registers /up in bootstrap/app.php .…