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.

Format

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

FieldValueMeaningAllowed
Minute0at minute 00-59 , - * /
Hour9at hour 90-23 , - * /
Day of month*every day of month1-31 , - * / L W
Month*every month1-12 or JAN-DEC , - * /
Day of weekMON-FRIMON to FRI0-6 (0 = Sunday, 7 = Sunday too) or SUN-SAT , - * / L #

Next 10 runs

  1. Tue 2026-11-17 09:00:00 (UTC+00:00)
  2. Wed 2026-11-18 09:00:00 (UTC+00:00)
  3. Thu 2026-11-19 09:00:00 (UTC+00:00)
  4. Fri 2026-11-20 09:00:00 (UTC+00:00)
  5. Mon 2026-11-23 09:00:00 (UTC+00:00)
  6. Tue 2026-11-24 09:00:00 (UTC+00:00)
  7. Wed 2026-11-25 09:00:00 (UTC+00:00)
  8. Thu 2026-11-26 09:00:00 (UTC+00:00)
  9. Fri 2026-11-27 09:00:00 (UTC+00:00)
  10. 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.

SymbolMeansExample
*every value* in the hour field = every hour
,a listMON,WED,FRI
-a range9-17 = 09:00 to 17:59
/a step*/15 in the minute field = every 15 minutes
Llast (day of the month, or last weekday of a kind)L = last day of the month; 5L = last Friday
Wnearest weekday15W = the weekday nearest the 15th
#the Nth weekday of the monthMON#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.

FormatFieldsSunday isUsed by
Standard5: minute hour day month weekday0 (or 7)Linux crontab, Hangfire, Kubernetes CronJob, GitHub Actions
With seconds6: second minute hour day month weekday0Azure Functions timer trigger (NCRONTAB), Cronos, NCrontab
Quartz6 or 7: second minute hour day month weekday [year]1Quartz.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

ScheduleStandardQuartz
Every 15 minutes*/15 * * * *0 0/15 * * * ?
Every hour at :3030 * * * *0 30 * * * ?
Every day at midnight0 0 * * *0 0 0 * * ?
Weekdays at 09:000 9 * * MON-FRI0 0 9 ? * MON-FRI
Every 2 hours during business hours0 8-18/2 * * MON-FRI0 0 8-18/2 ? * MON-FRI
First Monday of the month at 06:000 6 * * MON#10 0 6 ? * MON#1
Last weekday of the month at 18:000 18 LW * *0 0 18 LW * ?
1 January at 00:000 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.

An unhandled error has occurred. 🗙