Skip to content

Free plugin for Craft CMS 5

Know when cron stops

Cron Guard records every command your server’s cron runs, learns how often each one runs, and tells you when one fails, gets stuck, runs slow or stops running. Install it and it starts watching: no config, no extra cron line. Break something below.

Get startedHow it works →

What goes wrong

Utilities → Cron Guard

Every command is running as it should.

  • queue/runOKevery minute
  • feed-me/feeds/queue --id=3OKevery day
  • db/backupOKevery day
  • gcOKevery day

Pick something on the left to see the alert you’d get.

Quiet until something’s wrong

Learns each schedule

After four runs it knows a command runs every minute or every night. Commands run on deploy are recognised as irregular and never reported missing.

Nothing to set up

Your crontab stays as it is. Commands typed in a terminal are ignored, so testing by hand never adds noise.

One alert per problem

Sent once, again after a day if it’s still there, and “back to normal” when it’s fixed. Email, Slack, Discord, Teams or a webhook.

Catches crashes

Exceptions are saved with their message. Runs killed for memory or time show as stuck, because they never finish.

Notices cron stopping

When every scheduled command is late at once, you get one alert saying cron has stopped, not ten.

Works with uptime monitors

A health URL answers 200 or 503, and runs the check, so alerts still go out on a site nobody visits.

Utilities → Cron Guard: a feed that failed, a backup that missed its run, and commands running as they should

Free, and running in a minute

Craft CMS 5.6 or later, PHP 8.2 or later. MIT licensed.

composer require suprim/cron-guard && php craft plugin/install cron-guard

Then add where alerts go →