Cron Expression Parser
Paste a crontab schedule to see what it means. This cron expression parser explains it in plain words, breaks down every field, lists the next run times in any time zone and supports seconds and @macros.
Five fields: minute, hour, day of month, month, day of week. Add a sixth field in front for seconds, or use a macro such as @daily.
| Field | Value | Allowed | Runs at |
|---|
Understand Any Cron Schedule
A cron line such as 30 9 * * 1-5 is compact but easy to misread, and a wrong field can mean a backup that never runs or a job that fires every minute. Paste the expression into this cron expression parser and it tells you in plain words when the job runs, shows what each of the fields matches and lists the next run times.
It follows the rules of the classic Vixie cron that most Linux systems use, including names like MON and JAN, steps, ranges, lists, the @daily style macros and an optional seconds field. Run times are calculated in your browser for your local time zone, UTC or any other zone.
How to read a cron expression
- Paste the expression from your crontab, Kubernetes CronJob or CI config, or pick a preset.
- Read the description and check the field breakdown: the last column lists every value the field matches.
- Choose the time zone of the server that runs the job. Cron uses the server's zone unless configured otherwise.
- Check the next run times and copy them as ISO 8601 timestamps if you need them for a ticket or test.
Cron syntax: the five fields
| Field | Allowed values | Notes |
|---|---|---|
| Minute | 0–59 | |
| Hour | 0–23 | 24-hour clock, 0 is midnight |
| Day of month | 1–31 | Days a month does not have are skipped |
| Month | 1–12 or JAN–DEC | Names are not case-sensitive |
| Day of week | 0–7 or SUN–SAT | 0 and 7 are both Sunday |
| Seconds (optional) | 0–59 | Only as a sixth field in front, in tools such as node-cron and Spring |
Each field accepts * (every value), a single value (5), a list (1,15), a range (1-5) and a step (*/10, 0-30/10). A value followed by a step, like 5/15, means from 5 to the maximum in steps of 15.
Cron expression examples
| Expression | Runs |
|---|---|
*/15 * * * * | Every 15 minutes |
0 * * * * | At the start of every hour |
30 9 * * 1-5 | At 09:30, Monday to Friday |
0 0 * * 0 | At midnight every Sunday |
0 2 1 * * | At 02:00 on the first day of each month |
0 0 1 */3 * | At midnight on 1 January, April, July and October |
0 8-18/2 * * * | Every two hours from 08:00 to 18:00 |
@daily | Same as 0 0 * * *; @hourly is 0 * * * *, @weekly is 0 0 * * 0 |
Day of month and day of week together
When both day fields are restricted, cron runs the job on days that match either field. 0 0 13 * 5 therefore runs on the 13th of every month and also on every Friday, not only on Friday the 13th. The parser flags this case with a note.
The rule only applies when neither field starts with *. If one of them does, as in 0 0 */2 * 1, both must match. This follows Vixie cron and cronie; some other schedulers always combine the fields with AND, so check the documentation of yours.
Time zones and other cron flavours
- Server time zone: classic cron uses the system zone. cronie supports
CRON_TZ, and Kubernetes CronJobs have atimeZonefield. - Daylight saving time: a local time that is skipped when clocks move forward is left out of the list here. Many cron daemons run such jobs right after the change instead, so avoid scheduling between 01:00 and 03:00 local time, or use UTC.
- GitHub Actions reads
scheduleexpressions in UTC and runs them at most every 5 minutes. - Quartz and AWS EventBridge use a different syntax with
?,L,Wand#and extra fields, so their expressions are not standard crontab lines.
Turning a run time into a timestamp for a log search? Use the Unix timestamp converter. Testing a pattern for a log line your job writes? Try the regex tester.
Frequently Asked Questions
Common questions about cron expressions and crontab schedules.
Five asterisks mean every minute of every hour of every day. The job runs once a minute, at second 0.
Use */5 * * * *. The step /5 in the minute field matches minutes 0, 5, 10 and so on up to 55.
Standard crontab has five fields starting with minutes. Some libraries, such as node-cron and Spring, accept a sixth field in front for seconds. Quartz also starts with seconds but uses its own extensions.
Both. Day of week 0 and 7 both mean Sunday, and you can also write SUN.
If you set both the day of month and the day of week, cron runs the job when either one matches. Leave one of the two fields as * to require only the other.
The time zone of the machine running the cron daemon, unless the scheduler lets you set one, such as CRON_TZ in cronie or timeZone in a Kubernetes CronJob.
It runs the command once when the cron daemon starts, usually at boot. It has no recurring schedule, so there are no next run times to show.
No. Parsing and the run time calculation happen in your browser with JavaScript.