Cron Expression Generator
AI-poweredTurn plain English into a cron expression, or paste one to get a plain-English reading, a field-by-field breakdown and its next 5 run times.
At 09:00, Monday through Friday
Field by field
- 0
- Minute (0-59)
- at minute 0
- 9
- Hour (0-23)
- at hour 9
- *
- Day of month (1-31)
- every day of the month
- *
- Month (1-12)
- every month
- 1-5
- Day of week (0-7)
- on Monday through Friday
01 · Definition
What is a cron expression?
A cron expression is a line of five fields separated by spaces (minute, hour, day of month, month and day of week) that tells a scheduler when to run a job. For example, 0 9 * * 1-5 means 09:00 on Monday to Friday. Some schedulers accept a sixth field for seconds at the start.
02 · Overview
How the Cron Expression Generator works
Describe a schedule and an AI model returns a cron expression. Edit it, or paste your own, and the page reads it back as a sentence, explains each field, names the field that makes it invalid, and lists the next 5 run times with the year and your timezone. It handles standard 5-field expressions and 6-field expressions with a leading seconds field.
03 · Guide
Cron fields and allowed values
The five fields are read left to right. The ranges and names below are the ones in the crontab(5) manual page, and they are the ranges this page checks each field against. If you paste six fields, the first is read as seconds, 0 to 59.
Four characters work in every field: * for every value, a comma for a list (1,15), a hyphen for an inclusive range (9-17) and a slash for a step (*/15, or 8-18/2 for every second hour from 8 to 18). Month and day names are the first three letters and are not case-sensitive.
If day of month and day of week are both restricted, the job runs when either one matches: 30 4 1,15 * 5 runs at 04:30 on the 1st, on the 15th and on every Friday.
| Position | Field | Allowed values | Example |
|---|---|---|---|
| 1 | Minute | 0-59 | */15 |
| 2 | Hour | 0-23 | 9-17 |
| 3 | Day of month | 1-31 | 1,15 |
| 4 | Month | 1-12 or JAN-DEC | 1-6 |
| 5 | Day of week | 0-7 or SUN-SAT (0 and 7 are Sunday) | 1-5 |
04 · Guide
Common cron schedules
Every expression below is valid 5-field cron. The readings are the output of cronstrue (version 3.14.0), the library this page uses to describe an expression, set to 24-hour times, and each row was also parsed with cron-parser. The times are in whatever timezone your scheduler runs in.
| Expression | Meaning |
|---|---|
| * * * * * | Every minute |
| */5 * * * * | Every 5 minutes |
| */15 * * * * | Every 15 minutes |
| 0 * * * * | Every hour |
| 0 */6 * * * | On the hour, every 6 hours |
| 0 0 * * * | At 00:00 |
| 0 9 * * 1-5 | At 09:00, Monday through Friday |
| 0 22 * * 1-5 | At 22:00, Monday through Friday |
| 0 0 * * 0 | At 00:00, only on Sunday |
| 0 0 1 * * | At 00:00, on day 1 of the month |
| 0 0 1,15 * * | At 00:00, on day 1 and 15 of the month |
| 0 0 1 */3 * | At 00:00, on day 1 of the month, every 3 months |
| 0 0 1 1 * | At 00:00, on day 1 of the month, only in January |
05 · Use cases
When to use the Cron Expression Generator
- 01
Schedule a backup every weekday at 2am
- 02
Trigger a deploy on the first of the month
- 03
Run a cleanup script every 15 minutes
- 04
Translate an inherited cron expression to plain English before editing it
- 05
Generate a cron string for GitHub Actions, Vercel Cron, or a Kubernetes CronJob
06 · Examples
Cron Expression Generator examples
every weekday at 9am
ex 010 9 * * 1-5
Runs at 9:00 AM on Monday through Friday.
every 15 minutes
ex 02*/15 * * * *
Fires at minute 0, 15, 30, and 45 of every hour.
first day of every month at midnight
ex 030 0 1 * *
Suits monthly billing or report jobs.
every sunday at 3:30am
ex 0430 3 * * 0
A common weekly maintenance window.
twice an hour during business hours, monday to friday
ex 050,30 9-17 * * 1-5
Runs at :00 and :30 between 9am and 5pm on weekdays.
every 6 hours
ex 060 */6 * * *
Fires at 00:00, 06:00, 12:00, 18:00.
07 · FAQ
Cron: frequently asked questions
What does a cron expression look like?
What's the difference between 5-field and 6-field cron?
How do I run a job every X minutes?
How do I write a cron expression for the last day of the month?
Does this work for GitHub Actions and Vercel Cron?
Can I get an expression for a specific timezone?
What does the 'next run times' preview mean?
Why is my cron expression invalid?
What happens to the schedule I type?
08 · Guides
Cron guides
- Cron Syntax Compared: Unix, Quartz, AWS, GitHub Actions→
Unix cron has five fields. Quartz adds seconds, AWS EventBridge adds a year, and each numbers weekdays differently. A field-by-field comparison.
09 · Reference
Specs and further reading
These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.
- POSIX crontab specification
The Open Group. The normative definition of crontab behaviour that standard 5-field cron implementations follow.
- crontab(5) manual page
man7.org. Field-by-field reference for the crontab file format on Linux, including step and range syntax.
- Vercel Cron Jobs
Vercel. How 5-field expressions are interpreted by Vercel Cron, including its UTC-only timezone rule.
- Events that trigger workflows
GitHub. The schedule event, which accepts POSIX cron syntax and runs on UTC.
10 · Compare
How this compares to crontab.guru
Use crontab.guru when you already have a cron expression and want to read or edit it: it is a single-purpose editor for cron schedule expressions. Use the generate.now cron tool when you have the schedule in words and need the syntax. It turns "every weekday at 9am" into 0 9 * * 1-5 and lists the next five run times.
Read the full comparison→11 · More
Tools that pair with Cron
Regex GeneratorAI-powered
Describe what you want to match in plain English and get a JavaScript regex, with a live tester and a token-by-token breakdown.
UUID Generator
Generate UUID v4, v7 or v1, one at a time or up to 1,000. Output as standard, uppercase, braces (GUID), no hyphens, URN or Base64, and decode any UUID you paste.
.gitignore GeneratorAI-powered
Pick from 21 stack templates or describe your project in plain English. Get a labelled, deduplicated .gitignore to copy or download.