Cron Syntax Cheat Sheet

The five cron fields and common schedules.

A cron expression has five fields, separated by spaces: minute, hour, day of month, month and day of week. Build one with the Crontab Builder or decode one with the Cron Explainer.

The five fields

FieldAllowed values
Minute0–59
Hour0–23
Day of month1–31
Month1–12 (or JAN–DEC)
Day of week0–6 (Sun–Sat, or SUN–SAT)

Special characters

SymbolMeaning
*Every value
,List, e.g. 1,15,30
-Range, e.g. 9-17
/Step, e.g. */15 = every 15

Common examples

ExpressionRuns
* * * * *Every minute
*/15 * * * *Every 15 minutes
0 * * * *Every hour, on the hour
0 9 * * *Every day at 09:00
30 8 * * 1-5Weekdays at 08:30
0 0 * * 0Every Sunday at midnight
0 0 1 * *First day of every month at midnight
0 12 * * 6Every Saturday at noon

FAQ

0 is Sunday. Both 0 and 7 are accepted for Sunday in most cron implementations.

Use */15 in the minute field: */15 * * * *.

Last reviewed 2026-08-20.