Back to All Tools

Cron Expression Builder

Build, validate, and understand cron expressions with a visual field editor. See the human-readable schedule description and the next 5 scheduled run times.

0
MIN
9
HR
*
DOM
*
MON
1-5
DOW
0
9
*

Matches every value (wildcard *)

*

Matches every value (wildcard *)

1-5
to

Field Reference

FieldRangeSpecialExample
Minute0–59*/n, a-b, a,b*/15 → every 15 min
Hour0–23*/n, a-b, a,b0,12 → midnight & noon
Day of Month1–31*/n, a-b, a,b1,15 → 1st and 15th
Month1–12*/n, a-b, a,b3-5 → Mar through May
Day of Week0–7*/n, a-b, a,b1-5 → Mon–Fri

* = every value  | */n = every n-th  | a-b = range  | a,b = list  | 0 and 7 both = Sunday in Day of Week

Cron Expression Syntax

A cron expression is a string of five whitespace-separated fields that define a recurring schedule. It is used by Unix-like schedulers (crontab), CI/CD systems, cloud functions, and container orchestrators.

┌───────── minute (0–59)
│ ┌─────── hour (0–23)
│ │ ┌───── day of month (1–31)
│ │ │ ┌─── month (1–12)
│ │ │ │ ┌─ day of week (0–7, 0 and 7 = Sunday)
│ │ │ │ │
* * * * *

Special Characters

  • * — Matches every possible value in the field.
  • */n — Every n-th value. E.g., */5 in the minute field means every 5 minutes.
  • a-b — A range of values. E.g., 9-17 in the hour field means 9 AM through 5 PM.
  • a,b,c — A list of specific values. E.g., 1,15 in day-of-month means the 1st and 15th.
  • a/n — Start at a, then every n. E.g., 2/3 means 2, 5, 8, 11…

Common Examples

ExpressionDescription
* * * * *Every minute
0 * * * *At minute 0 of every hour
0 9 * * 1-5At 9:00 AM, Monday through Friday
30 18 * * 0At 6:30 PM every Sunday
0 0 1 * *At midnight on the 1st of every month
*/15 9-17 * * 1-5Every 15 minutes during business hours on weekdays

Day-of-Month vs Day-of-Week

When both the day-of-month and day-of-week fields are restricted (neither is *), most cron implementations (including Vixie cron) will run the job when either condition is true. This is often a source of confusion — if you set both, ensure you intend the union behavior.

Platform Differences

Standard 5-field cron is supported across virtually all platforms. Some systems (e.g., Quartz Scheduler, AWS EventBridge, GitHub Actions) support a 6-field format with an additional seconds field prepended, or a 7-field format with a year field appended. This tool implements the standard 5-field POSIX format.