Docs · Concepts
Schedules and statuses
Periods, cron expressions, time zones and grace, and how a check moves between up, late and down.
Two kinds of schedule
Period. A ping is due a fixed time after the previous one: every 15 minutes, every 6 hours. Use it for jobs that run on a loop or a timer.
Cron. A ping is due at each tick of a cron expression, in a time zone you choose. Use it to match a crontab line or a scheduler's own cron.
| Setting | Allowed |
|---|---|
| Period | 60 seconds to 365 days |
| Cron expression | 5 fields (minute hour day month weekday), or a shortcut such as @hourly, @daily, @weekly, @monthly, @yearly. At most 100 characters. No seconds field and no @reboot. |
| Time zone | An IANA name, such as Europe/Berlin or America/New_York |
| Grace | 60 seconds to 365 days |
Deadlines
- Period: the next deadline is exactly the period after the last ping.
- Cron: the next deadline is the first tick after the last ping. A ping up to 10 seconds early still counts for its tick.
- Daylight saving: a tick that falls in a skipped hour is skipped; a tick in a repeated hour is due at its second occurrence.
Statuses
| Status | Meaning |
|---|---|
| New | Created, waiting for its first ping. Not watched yet, so it never alerts. |
| Up | The last run succeeded and the next deadline hasn't passed. |
| Late | The deadline passed with no ping. The grace period is running. |
| Down | The grace period ran out, or the last run failed. |
| Paused | Not watched. Pings are recorded but change nothing. |
A success brings a late or down check back to up. A failure makes any check down at once, without waiting for a deadline.
Choosing a grace period
Grace covers jobs that start late or run long. Set it to a little more than the longest normal run, plus any start-up delay. Too short and slow nights page you; too long and a dead job takes longer to notice.
Changing a schedule
A schedule change takes effect immediately: an up or late check gets a fresh deadline counted from the change. Saving the same schedule again changes nothing, so automation can't keep pushing a dead job's deadline out.
Pause and resume
Pause a check during maintenance and nothing alerts. On resume, a check that has been pinged before is up, with its next deadline counted from the resume.