Cron expression generator
Build a five-field cron schedule, read it in plain English, and see the next 10 run times.
Cron expression
Cron expression
-
Next 10 runs
| Date and time | From now |
|---|
How it works
A cron expression schedules a recurring job with five fields: minute, hour, day of month, month and day of week. This generator builds a valid expression as you edit each field, explains it in plain English, and lists the next times it would actually run.
- Set the fields
Type a value, a list, a range or a step in each field, or start from a preset.
- Read the explanation
The plain-English sentence and the assembled expression update as you type.
- Check the next runs
The table below shows when the schedule would fire from right now.
Field ranges and syntax
| Field | Allowed values | Example |
|---|---|---|
| Minute | 0 to 59 | */15 means every 15 minutes |
| Hour | 0 to 23 | 9-17 means 9 AM through 5 PM |
| Day of month | 1 to 31 | 1,15 means the 1st and the 15th |
| Month | 1 to 12 | 6-8 means June through August |
| Day of week | 0 to 6, Sunday is 0 | 1-5 means Monday through Friday |
Reading a cron expression
Each cron expression has five fields in a fixed order: minute, hour, day of month, month, and day of week. An asterisk means every value, a comma separates a list, a dash marks a range, and a slash marks a step, so */15 in the minute field means every 15 minutes.
The day of month and day of week gotcha
When both the day of month and day of week fields are restricted, most cron implementations, including this generator, run the job when either condition is true, not only when both match. For example, 0 0 1 * 1 runs at midnight on the 1st of the month and every Monday, which is more often than many people expect.
What this generator does not cover
This tool implements the standard five-field Unix cron syntax. It does not add a seconds field used by Quartz Scheduler, the @yearly or @weekly shortcuts, or the six-field AWS EventBridge cron format. All parsing and next-run calculations happen in your browser using your local clock, and nothing is sent to a server.
Time zone
The next run times use your device's local time zone and clock. If the server running your cron job is set to a different time zone, its actual run times will differ from what this page shows.
Frequently asked questions
How do I read a cron expression like 0 9 * * 1-5?
A standard cron expression has five fields in order: minute, hour, day of month, month, and day of week. The expression 0 9 * * 1-5 means at minute 0, hour 9, every day of the month, every month, only on weekdays Monday through Friday: 9:00 AM on weekdays. This generator shows the same plain-English explanation as you edit each field.
How do I schedule a job to run every 5 minutes?
Use the expression */5 * * * *. The */5 in the minute field means every 5 minutes using the step syntax. Click the Every 5 minutes preset to load it automatically, then check the Next 10 runs table to confirm the schedule before you deploy it.
What is the difference between the day of month and day of week fields?
Day of month targets a specific calendar date, such as the 1st or the 15th. Day of week targets a weekday, where 0 is Sunday through 6 is Saturday. When both fields are set to something other than an asterisk, most cron implementations run the job when either condition is true, not only when both match, which is a common source of unexpected extra runs.
Does this generator support seconds or the AWS EventBridge cron format?
This tool implements the standard five-field Unix cron syntax, from minute through day of week. It does not support a leading seconds field, used by Quartz Scheduler, the @yearly or @weekly shortcuts, or the six-field AWS EventBridge cron format. Check your scheduler's documentation if you need second-level precision.
Is my cron expression sent to a server?
No. All parsing and next-run calculations happen in your browser with JavaScript, and the page keeps working offline after it loads. The next run times use your device's local clock and time zone, so they may differ from a server set to a different time zone.