Schedules
On this page
A check follows either a simple schedule, a period such as every 24 hours, or a cron schedule, a five-field expression in a time zone. CronMissed reads cron the way Linux cron (cronie) does, and writes its rules down so nothing is a surprise.
When do I use a simple schedule?
When the job repeats at a fixed interval and the exact clock time does not matter: a worker that pings every 5 minutes, a loop that runs every hour. The check is late when the period has passed since the last success and down after the grace time. The period runs from 60 seconds to a year.
Which cron syntax is accepted?
- Five fields: minute, hour, day of month, month, day of week.
- Values, lists (1,15), ranges (9-17), steps (*/15, 10-50/5), and lists mixing values and ranges.
- Month names (JAN to DEC) and day names (SUN to SAT), in any case. Sunday is 0 or 7.
- Nicknames: @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly. They are stored in their expanded form.
Refused: six or seven fields, ?, L, W and # (Quartz syntax), ~ random ranges, reversed ranges such as 5-1, @reboot (it has no schedule to watch), and out-of-range values. The error names the part that is wrong. The free cron explainer reads Quartz and the other dialects too, and the converter turns them into five-field cron.
How do the two day fields work together?
When both day of month and day of week are restricted, the schedule matches when either one matches, as crontab(5) describes: 30 4 1,15 * 5 runs on the 1st, the 15th and every Friday. A field that starts with a star counts as unrestricted, so 0 0 */2 * 1 means every second day that is also a Monday. The explainer warns whenever an expression falls into this.
How are time zones and daylight saving handled?
A cron schedule carries an IANA time zone name, default UTC. For zones with daylight saving, CronMissed follows cron(8): a job that runs at one minute value in a set of hours less often than hourly is expected at the moment the clock jumps if its time is skipped, and once if its time is repeated. A schedule that runs more often than hourly is scheduled normally: a skipped time is skipped, and a repeated time runs twice. Every expression page shows what the next clock changes do to that schedule.
Create a check, copy its ping URL into the job, and watch the first ping arrive.
Start monitoring