Home / Free tools / Cron expression builder
Cron expression builder and explainer
Build a cron expression, or paste one, and see in plain English what it means and the next times it will run, in your time zone. Works with standard 5-field cron (crontab, Hangfire, Kubernetes, GitHub Actions), 6-field cron with seconds (Azure Functions) and Quartz (Quartz.NET, Java Quartz). Free, nothing to install, nothing is stored.
Fields: minute hour day-of-month month day-of-week. Sunday = 0 or 7, or use SUN-SAT.
Common schedules
Build one
What it means
At 09:00, Monday through Friday
| Field | Value | Meaning | Allowed |
|---|---|---|---|
| Minute | 0 | at minute 0 | 0-59 , - * / |
| Hour | 9 | at hour 9 | 0-23 , - * / |
| Day of month | * | every day of month | 1-31 , - * / L W |
| Month | * | every month | 1-12 or JAN-DEC , - * / |
| Day of week | MON-FRI | MON to FRI | 0-6 (0 = Sunday, 7 = Sunday too) or SUN-SAT , - * / L # |
Next 10 runs
- Tue 2026-11-17 09:00:00 (UTC+00:00)
- Wed 2026-11-18 09:00:00 (UTC+00:00)
- Thu 2026-11-19 09:00:00 (UTC+00:00)
- Fri 2026-11-20 09:00:00 (UTC+00:00)
- Mon 2026-11-23 09:00:00 (UTC+00:00)
- Tue 2026-11-24 09:00:00 (UTC+00:00)
- Wed 2026-11-25 09:00:00 (UTC+00:00)
- Thu 2026-11-26 09:00:00 (UTC+00:00)
- Fri 2026-11-27 09:00:00 (UTC+00:00)
- Mon 2026-11-30 09:00:00 (UTC+00:00)
Cron syntax in one table
A cron expression is a line of fields separated by spaces. Each field says when, in that unit, the job runs.
| Symbol | Means | Example |
|---|---|---|
* | every value | * in the hour field = every hour |
, | a list | MON,WED,FRI |
- | a range | 9-17 = 09:00 to 17:59 |
/ | a step | */15 in the minute field = every 15 minutes |
L | last (day of the month, or last weekday of a kind) | L = last day of the month; 5L = last Friday |
W | nearest weekday | 15W = the weekday nearest the 15th |
# | the Nth weekday of the month | MON#1 = first Monday |
? | no specific value (Quartz: one of the two day fields must be ?) | 0 0 9 ? * MON-FRI |
L, W and # work in Hangfire, Cronos, Azure Functions and Quartz, but not in classic Linux crontab.
Which cron format does my tool use?
The formats look alike but count fields and number the days of the week differently, so the same line can mean different things.
| Format | Fields | Sunday is | Used by |
|---|---|---|---|
| Standard | 5: minute hour day month weekday | 0 (or 7) | Linux crontab, Hangfire, Kubernetes CronJob, GitHub Actions |
| With seconds | 6: second minute hour day month weekday | 0 | Azure Functions timer trigger (NCRONTAB), Cronos, NCrontab |
| Quartz | 6 or 7: second minute hour day month weekday [year] | 1 | Quartz.NET, Java Quartz Scheduler |
Day names (SUN, MON ... SAT) mean the same in every format, so the builder above uses them.
Next run times on this page come from the same libraries the tools use: Cronos (the engine inside Hangfire) for the standard
and 6-field formats, and Quartz.NET for Quartz.
Examples
| Schedule | Standard | Quartz |
|---|---|---|
| Every 15 minutes | */15 * * * * | 0 0/15 * * * ? |
| Every hour at :30 | 30 * * * * | 0 30 * * * ? |
| Every day at midnight | 0 0 * * * | 0 0 0 * * ? |
| Weekdays at 09:00 | 0 9 * * MON-FRI | 0 0 9 ? * MON-FRI |
| Every 2 hours during business hours | 0 8-18/2 * * MON-FRI | 0 0 8-18/2 ? * MON-FRI |
| First Monday of the month at 06:00 | 0 6 * * MON#1 | 0 0 6 ? * MON#1 |
| Last weekday of the month at 18:00 | 0 18 LW * * | 0 0 18 LW * ? |
| 1 January at 00:00 | 0 0 1 1 * | 0 0 0 1 1 ? |
Questions
What does * * * * * mean in cron?
Five asterisks is the standard cron expression for "every minute": every minute of every hour of every day. Each * means "every value" for its field (minute, hour, day of the month, month, day of the week).
Why does my cron expression have 6 or 7 fields?
Six fields usually means a seconds field comes first (Azure Functions, Quartz, Cronos with seconds). Seven fields is the Quartz format with a year at the end. Pick the matching format above and the page reads it correctly.
Is Sunday 0 or 1 in cron?
In standard cron and Azure Functions, Sunday is 0 (standard cron also accepts 7). In Quartz, Sunday is 1 and Saturday is 7. Day names such as SUN and MON mean the same everywhere, so they are the safer choice.
What does ? mean in a Quartz cron expression?
"No specific value". Quartz does not let you set both the day of the month and the day of the week, so one of the two must be ?. For example 0 0 9 ? * MON-FRI runs at 09:00 on weekdays.
Which time zone does a cron schedule run in?
The scheduler decides: crontab uses the server's local time, Azure Functions use UTC unless WEBSITE_TIME_ZONE is set, Hangfire and Quartz use the time zone you give the job (UTC by default in Hangfire). Pick the same zone above to see the real run times; around daylight-saving changes a run can be skipped or happen twice in local time.
Can I run a Windows service or program on a cron schedule?
Task Scheduler has no cron syntax, but its triggers cover daily and weekly times. To restart a Windows service on a schedule without creating a task on every server, SvcSentinel takes a daily time or a full cron schedule per service.
Something wrong or missing? Mail support@solutionsgroupunlimited.com. More free tools: GUID / UUID generator. How-to articles: Guides.