Cron job monitoring

Cron job monitoring that notices when a job doesn't run

A crashed job throws an error. A job that never starts throws nothing. ErrorLens expects each run on schedule and alerts you when one is missed, fails or takes too long.

An ErrorLens cron monitor showing check-ins, durations and missed runs

From any script: one HTTP call

Report in_progress at the start and ok or error at the end to measure duration and catch jobs that hang.

# at the end of your job
curl -fsS "https://errorlens.io/api/<project-id>/monitors/nightly-backup/checkin?key=<dsn-key>&status=ok"

From your code: one decorator

The monitor is created from your code the first time it checks in, and its schedule stays in sync with every deploy.

Python
@errorlens.monitor("nightly-backup", schedule="0 2 * * *", max_runtime=30)
def backup():
    ...
Node.js
await ErrorLens.withMonitor("nightly-backup", () => runBackup(), {
  schedule: { type: "crontab", value: "0 2 * * *" },
  maxRuntime: 30,
});

What raises an alert

  • Missed — no check-in within the schedule plus a grace margin
  • Failed — the job reported an error, or the process crashed
  • Timed out — started but didn't finish within the maximum runtime
  • Alerts go to email, Slack, Discord or webhooks, once per state change

Frequently asked questions

Which schedules are supported?

Crontab expressions (with a timezone) and simple intervals such as every 10 minutes.

Does it work with Kubernetes CronJobs, Celery beat and GitHub Actions?

Yes. Anything that can make an HTTP request can check in; Python and Node.js jobs can use the SDK helpers.

Start tracking errors in minutes

Free hosted plan with 5,000 errors a month, or self-host with no limits. No credit card.