---
title: "How checks work: states and deadlines"
url: "https://cronmissed.com/docs/how-checks-work.md"
canonical_url: "https://cronmissed.com/docs/how-checks-work"
last_updated: "2026-10-22"
type: "reference"
summary: "The states a check moves through, the deadlines that decide late and down, how start and failure signals change them, and what sends an alert."
related: ["https://cronmissed.com/docs.md", "https://cronmissed.com/docs/checks.md", "https://cronmissed.com/docs/schedules.md", "https://cronmissed.com/docs/pinging-api.md", "https://cronmissed.com/learn/heartbeat-monitoring.md"]
---

# How checks work: states and deadlines

> **For AI agents:** the complete index of CronMissed pages is [llms.txt](https://cronmissed.com/llms.txt). Every page is also served as markdown at its URL plus .md.

The states a check moves through, the deadlines that decide late and down, how start and failure signals change them, and what sends an alert.

A check is a promise about when pings will arrive. CronMissed keeps one deadline for each check, moves the check through five states as pings arrive or fail to, and sends one alert for each change between up and down.

## Which states are there?

| State | Meaning | Alert |
| --- | --- | --- |
| new | No ping yet. A new check has no deadline unless you turn on the first-ping deadline. | None |
| up | Pings are arriving on time. | A recovery alert when it returns from down |
| late | The expected ping has not arrived and the grace time is running. The API calls this grace. | None |
| down | The grace time ended, or the job reported a failure. | One alert |
| paused | Monitoring is off. | None |

A started marker is separate from the state: it is set by a start signal and cleared by the finish of the same run.

## How are deadlines computed?

- Simple schedule: the check is late when the period has passed since the last success, and down after period plus grace.
- Cron schedule: the check is late at the first scheduled moment after the last success, and down after grace. A ping that lands a little before its scheduled moment (up to 30 seconds, or a tenth of the gap on frequent schedules) counts for that moment, so a small clock difference never costs you a run.
- A started run: the check is down at the earlier of its schedule deadline and the start plus the grace time.
- A new check with the first-ping deadline on: down after one period plus grace measured from when the check became new.

All times are read from one clock, the database's, so a ping and the sweep that checks for late jobs never disagree about the time.

## How do signals change the state?

| Signal | From new | From up | From down |
| --- | --- | --- | --- |
| Success | up, no alert | up, deadline moves | up, recovery alert |
| Failure | down, alert | down, alert | stays down, no new alert |
| Start | stays new, run is timed | run is timed | stays down, run is timed |
| Log | recorded, no change | recorded, no change | recorded, no change |

## When does the alert go out?

A sweep runs every minute and moves overdue checks to down, so a missed ping alerts within about two minutes of the moment the grace time ends. A failure signal alerts within seconds. A check that flips five or more times in 30 minutes is held, with one "flapping" notice, and released after 30 quiet minutes.

## Related pages

- [Checks](https://cronmissed.com/docs/checks.md)
- [Schedules](https://cronmissed.com/docs/schedules.md)
- [Pinging API](https://cronmissed.com/docs/pinging-api.md)
- [Heartbeat monitoring](https://cronmissed.com/learn/heartbeat-monitoring.md)

## Related

- [CronMissed documentation](https://cronmissed.com/docs.md)
- [Check fields, limits and options](https://cronmissed.com/docs/checks.md)
- [Schedules: simple, cron and time zones](https://cronmissed.com/docs/schedules.md)
- [Pinging API reference](https://cronmissed.com/docs/pinging-api.md)
- [Heartbeat monitoring for scheduled jobs](https://cronmissed.com/learn/heartbeat-monitoring.md)
