CronProbe Cron Checker

Cron Cheat Sheet: The Five Fields and Twelve Schedules You Will Copy

CronProbe Guides · Updated 2026-10-31 · All guides

The five fields

FieldRangeNotes
minute0 to 59*/15 means 0, 15, 30, 45
hour0 to 230-23/2 is every even hour
day-of-month1 to 31Interacts with day-of-week (below)
month1 to 12Names (JAN) are accepted by many daemons, not by the checker here
day-of-week0 to 70 and 7 are both Sunday
commandthe rest of the lineRun by /bin/sh; an unescaped % means newline

Two rules that surprise people. A restricted day-of-month and a restricted day-of-week match with OR: 0 0 13 * 5 fires on the 13th and on every Friday. And ranges are inclusive at both ends.

Twelve schedules

ExpressionMeaning
*/15 * * * *Every 15 minutes (96 times a day)
17 * * * *Hourly at :17, off the :00 mark where every other job on the host lands
0 4 * * *Daily at 04:00
0 22 * * 1-522:00 Monday to Friday
23 0-23/2 * * *Every two hours at :23
0 9 1-7 * 1Day 1 to 7 or a Monday, because of the OR rule. This does not mean "the first Monday"; gate that inside the job
30 2 * * *Daily at 02:30, which does not exist on the spring-forward day in zones that skip that hour
0 0 29 2 *29 February only: once every leap year
@daily0 0 * * *
@rebootWhen the cron daemon starts, which can be before the services you depend on
5 0 * * *00:05 daily
0 6,18 * * *06:00 and 18:00. */12 would be 00:00 and 12:00

Paste any of them into the checker to see the next runs.

cron or a systemd timer

Needcronsystemd timer
Run a job missed during downtimeNothing happensPersistent=true runs it once at next start
Spread load across a fleetHand-rolled sleep $RANDOMRandomizedDelaySec=
Calendar syntaxFive fieldsOnCalendar=, checked with systemd-analyze calendar
Per-job logsMail, or nothingjournalctl -u name.service
Hosts without systemdEverywhereNo

Cron is portable and simple. A timer is a service with dependencies and fixes the gaps above. On a systemd fleet prefer timers; in a container or a NAS cron is the honest answer.

Developer Sponsor / Partner
Copied to clipboard!