Cron & heartbeat monitoring: notice the run that never happened

Obseria alerts you when a job or device does not check in at the expected time, so a backup that silently stopped is found the same night, not weeks later.

Missed check-ins become problems with severity and affected entity
Missed runs, overdue jobs and the runs due in the next 24 hours
Every delivered alert in the notification centre
Fires on
A job or device that does not check in on time
Sources
Jobs from telemetry and jobs without telemetry
Visible as
Missed runs, overdue jobs, 30-day run calendar
Delivery
Email, Slack, Teams, PagerDuty, Opsgenie, webhook and more
Product tour

How your team works with Cron & heartbeat monitoring

From the missing check-in to the alert and its follow-up: these views come straight from the Obseria app. Pick an area or let the tour run on its own.
01 / 05

Missed and overdue at a glance

The jobs overview counts missed runs, lists overdue jobs as notable and shows the runs expected in the next 24 hours.

  • Missed runs and jobs at risk
  • 30-day run calendar
  • Add a job without telemetry
Missed and overdue at a glance
02 / 05

A missing check-in is a problem like any other

Problems show status, severity, category, affected entity and likely cause, and can be filtered by any of them.

  • Active and closed problems
  • Mean duration
  • Problems over time
Learn more
A missing check-in is a problem like any other
03 / 05

Every alert delivery on record

Channel deliveries, problems, automation runs and incidents with severity, detail and time, plus a chart of events per day.

  • Critical, warning, resolved
  • Filter by type and read status
  • Search across events
Learn more
Every alert delivery on record
04 / 05

Turn a missed backup into an incident

When a missing run needs coordinated work, declare an incident with severity P1 to P4 and an owner.

  • Severity P1 to P4
  • Assigned owner
  • MTTA and MTTR
Learn more
Turn a missed backup into an incident
05 / 05

The servers your scheduled tasks run on

With the Obseria agent or OpenTelemetry, the hosts behind your jobs report CPU, memory, disks and status, so a stopped server is visible too.

  • CPU, memory and disks
  • Status per host
  • Logs one click away
The servers your scheduled tasks run on
Capabilities

Alerts on silence, not just on errors

Missed and overdue runs, jobs without telemetry and delivery to the channels your team already uses.
Cron and heartbeat monitoring

Cron and heartbeat monitoring

Alerts you when a job or device does not check in at the expected time.

Notification channels

Destinations for alerts such as email, Slack, Teams, PagerDuty or webhooks.

Learn more →
Alerting

Alerting

Rules that alert on thresholds or patterns and send notifications.

Learn more →
Jobs monitoring

Jobs monitoring

Monitors batch jobs and scheduled tasks: runtime, success and failures.

Learn more →
How it works

From an expected run to an alert on silence

Five steps that make sure a scheduled task cannot stop without anyone noticing.
  1. Job
    nightly-backupWithout telemetry · expected daily 03:00
    Reports in itself
    01

    Add the job

    Jobs that send telemetry are detected. For a script or cron entry without instrumentation, add a job without telemetry that reports in itself.

    • 03:00 nightly-backup
    • 06:00 invoice-export
    • every 15 min sync-prices
    02

    Know the schedule

    Obseria knows when the next check-in is due and lists the runs expected in the next 24 hours.

  2. No check-in since 3 days
    03

    Notice silence

    When a check-in does not arrive on time, the run counts as missed and the job is listed as overdue.

  3. Missed check-in · #ops
    04

    Alert the owner

    The missed check-in becomes a problem and is delivered to your notification channels, for example a team channel or a paging tool.

  4. MonOK
    TueOK
    WedOK
    Back on schedule
    05

    Fix and confirm

    Rerun or repair the job, open a task or incident if needed, and confirm in the run calendar that the next days are green again.

In depth

How Cron & heartbeat monitoring works

Missed runs

An alert for the job that produced no error at all

Most alerting needs something to go wrong: an error rate, a log line, a slow request. A scheduled task that never starts produces none of that. Cron and heartbeat monitoring in Obseria turns the question around: it expects a check-in at a known time and raises an alert when it does not come.

That covers the classic silent failures: a crontab that was lost in a server move, a scheduler container that was replaced, a lock file that blocks every start, or a machine that was switched off while it still ran an important task.

In the jobs overview, missed runs are counted separately from failed runs, and the number of jobs at risk tells you at a glance whether anything is overdue right now.

  • Alert when a check-in is late or missing
  • Missed runs counted separately from failures
  • Overdue jobs listed as notable
  • Jobs at risk at a glance
Jobs without telemetry

Cover the shell script on the old server, too

Jobs that already send telemetry are detected from it, without extra setup. But the most important scheduled tasks are often the oldest ones: a backup script, a certificate renewal, an export to a partner, running from a crontab on a single server.

For these, add a job without telemetry in Obseria. The job then reports in itself when it runs, and Obseria watches for the check-in like for any other job. The application itself does not need to be instrumented for this.

Both kinds of jobs appear in the same overview, grouped by service, so the old script and the modern worker are monitored side by side.

  • Jobs detected from telemetry
  • Jobs without telemetry report in themselves
  • Same overview for both
  • Grouped by service
Schedule & history

See when the next check-in is due, and what the last 30 days looked like

A timeline lists the runs expected in the next 24 hours. It shows when the next check-in of each job is due, which is useful before maintenance or when you want to confirm that a repaired job will run tonight.

The run calendar shows the last 30 days per job and marks days with fewer runs than expected and days without any run. A job that skips weekends by accident, or stops at the end of each month, becomes visible as a pattern.

A filter lists jobs that have no schedule yet. Adding one is what makes missed runs detectable for them.

  • Runs expected in the next 24 hours
  • 30-day run calendar per job
  • Days with fewer runs or no run
  • Filter for jobs without a schedule
Alert delivery

The missing run reaches the person who can fix it

A missed check-in becomes a problem in Obseria's alerting area, with severity and affected entity, and is delivered through the notification channels you configure: email, Slack, Microsoft Teams, Google Chat, Discord, PagerDuty, Opsgenie, Jira Service Management, incident.io or a webhook.

Conditions on severity or environment decide where an alert goes, so a missing backup in production can page someone while a staging job only posts to a channel. Every delivery appears in the notification centre with its status.

For follow-up, a problem can become a task or an incident. Obseria does not rerun the job for you; it makes sure the right person knows that it did not run.

  • Problem with severity and affected entity
  • Chat, paging tools, ticketing or webhook
  • Routing by severity or environment
  • Follow up as task or incident
Integrations

Check-ins come in, alerts go out

Jobs report in through OpenTelemetry data or on their own. Missed check-ins reach chat, paging and ticketing tools or any system via webhook.
  • OpenTelemetry
  • Linux
  • OTel Collector
  • Slack
  • Microsoft Teams
  • Google Chat
  • Discord
  • PagerDuty
  • Opsgenie
  • Jira Service Management
  • incident.io
  • { }Webhook
Guide

Cron monitoring and heartbeat monitoring explained

What cron monitoring and heartbeat monitoring are

Cron monitoring checks that scheduled tasks actually run. The name comes from cron, the Unix scheduler that starts commands at fixed times, but the idea applies to every scheduler: Kubernetes CronJobs, systemd timers, Windows Task Scheduler or the scheduler inside an application. Heartbeat monitoring is the general technique behind it. Something that should be alive sends a regular signal, the heartbeat, and a monitor raises an alert when the signal does not arrive on time. In operations this pattern is also known as a dead man's switch.

The key difference to most other monitoring is the direction. A normal check asks "is something wrong?" and needs an error to fire. A heartbeat monitor asks "has the expected signal arrived?" and fires on silence.

Why silent failures are the dangerous ones

Scheduled tasks rarely fail loudly. Typical causes of a missed cron job are:

  • The crontab was not copied when a server was replaced or moved to a new image.
  • A container or pod that held the scheduler was redeployed without it.
  • A lock file from a crashed run blocks every following start.
  • Credentials or a mount point changed, and the script exits before its own error handling runs.
  • The server itself was switched off, and nobody remembered that the backup ran there.

In each case no error message is produced, because nothing runs that could produce one. Logs and error tracking stay quiet. Only a monitor that knows the expected schedule notices that a run is missing.

How heartbeat checks work

A heartbeat check combines three things: an expected schedule (for example every night at 03:00, or every 15 minutes), a signal that the job or device sends when it runs, and an alert when the signal is late or missing. The signal can come from telemetry the job already sends, or from an explicit check-in at the end of a script. For long jobs it helps to report success at the end, not at the start, so a run that starts but never finishes is also caught.

Good practice for cron and heartbeat monitoring

  • Check in after the work is done. A heartbeat at the start of a script only proves that cron fired.
  • Cover the forgotten servers first. Backups, certificate renewals and exports on single machines are often the most critical tasks and the least visible.
  • Name heartbeats after the business task. "nightly-backup" is clearer in an alert than "cron #4 on host 7".
  • Send alerts where the owner works. A missed backup alert belongs to the team that can restore or rerun it.
  • Review the list of monitored jobs regularly. When a job is retired, remove it, so alerts stay trustworthy.
  • Combine with job monitoring. Heartbeats tell you that a run happened; job monitoring tells you whether it succeeded and how long it took.

How to choose a cron monitoring tool

Look for a tool that detects scheduled jobs from existing telemetry, lets you add jobs that have no instrumentation at all, shows overdue and missed runs clearly, keeps a history over weeks and sends alerts through the same channels as the rest of your monitoring. A separate cron monitoring service for a handful of jobs is easy to start with, but it adds another place where alerts are configured and another tool that is forgotten when people change teams.

What to cover first

Start with the tasks whose silent failure would hurt most: database and file backups, certificate renewals, data exports to partners or authorities, billing and invoice runs, and clean-up jobs that keep disks from filling up. Then add the jobs that feed reports or dashboards people rely on. A short inventory, done once with the teams that own the servers, usually finds a few tasks nobody remembered.

How cron and heartbeat monitoring works in Obseria

In Obseria, cron and heartbeat monitoring is part of Obseria Data and shares the jobs area with job monitoring. Obseria alerts you when a job or device does not check in at the expected time.

  • Jobs from telemetry: jobs that already send telemetry are detected from it.
  • Jobs without telemetry: scripts and cron jobs without instrumentation are added as a job without telemetry and report in themselves.
  • Missed and overdue runs: the jobs overview counts missed runs, lists overdue jobs as notable and marks days with fewer runs than expected in a 30-day run calendar.
  • Next runs: a timeline shows the runs expected in the next 24 hours, so you know when the next check-in is due.
  • Alerts: missing check-ins become problems and are delivered through your notification channels, for example email, Slack, Microsoft Teams, PagerDuty, Opsgenie or a webhook.

From there, a missed run can become a task or an incident, and the notification centre keeps a record of what was sent and when it was resolved.

FAQ

Questions about Cron & heartbeat monitoring

Answers on features, setup and what is not included yet.
Contact us

Cron & heartbeat monitoring FAQ

A job or device sends a signal at a known schedule. If the signal does not arrive on time, the monitor raises an alert. It catches failures that never produce an error message, such as a backup that stopped running.

Cron and heartbeat monitoring answers one question: did the run happen on time? Job monitoring also covers success rate, failed runs, duration and history. In Obseria both live in the same jobs area.

Yes. Add it as a job without telemetry. The job then reports in itself, and Obseria alerts you when the check-in does not arrive at the expected time.

Jobs without telemetry report in themselves, so a script does not need OpenTelemetry instrumentation to be watched. Jobs that already send telemetry are detected from it. The Obseria agent or OpenTelemetry is needed when you also want metrics, logs and traces from the host or service.

To the notification channels you set up in Obseria, for example email, Slack, Microsoft Teams, Google Chat, Discord, PagerDuty, Opsgenie, Jira Service Management, incident.io or a webhook. They also appear as problems in the alerting area and in the notification centre.

Yes. A timeline shows the runs expected in the next 24 hours, and the run calendar shows the last 30 days per job with days that had fewer runs than expected.

Anything that is set up to check in on a schedule can be watched for silence. Note that Obseria does not ship an endpoint agent for laptops today; servers and VMs are covered by the Obseria agent and OpenTelemetry.

Obseria does not schedule, start or rerun jobs, and it does not repair a broken crontab. It does not offer an endpoint agent for laptops. Data-quality checks on what a job produced, such as row counts or table freshness, are not part of this feature.

Contact

See Cron & heartbeat monitoring in action

In 30 minutes we show you how Obseria works in your environment and answer your questions on setup, privacy and pricing.

  • No obligation, free of charge
  • Usually answered within one business day
  • Data in the EU
Your contact
Your contactObseria team

* Required field. By submitting, you agree to the processing of your details as described in our Privacy Notice