About Cron Expression Explainer
0 0 13 * 5 looks as if it means Friday the 13th. It actually runs at midnight on every 13th and also on every Friday, and that is the sort of thing you want to learn before a job fires about 60 times a year. Paste an expression here to get a sentence describing it, a breakdown of each field, and a list of the next five runs.
Real dates are what settle an argument about a schedule. If the list shows what you expected, you are done. Switch between your time zone and UTC to match how your server's clock works, and try the common schedules below the box to learn how the fields combine.
How it works
The explainer follows the rules of Vixie cron, which most Linux systems use. Each of the five fields is expanded into the exact values it matches, handling lists, ranges, steps and three-letter names, with both 0 and 7 accepted as Sunday. Shortcuts such as @daily are rewritten to their five fields, and the page shows that form too.
Run times come from walking forward through the calendar, up to 12 years, using the same day rule cron uses: if either day field starts with *, both must match, and otherwise either one is enough. That rule is why the Friday example above behaves as it does. A local time skipped by a clock change is not listed, and a date that can never happen, such as 31 February, gets a warning.
How to use Cron Expression Explainer
- Type or paste the schedule into the Cron expression box, or press Try an example. Only the first line is read.
- Or press one of the Common schedules to load it.
- Under Show run times in, choose My time zone or UTC.
- Read the sentence, the Field by field table and the Next runs. Press Copy, or Download to save
cron-explanation.txt.
The Friday the 13th trap, run from 14 March 2026
0 0 13 * 5Expression: 0 0 13 * 5
Meaning: At 00:00, on the 13th of the month or on Friday.
Minute 0 0
Hour 0 0
Day of month 13 13
Month * Every month
Day of week 5 Friday
Both day fields are set, so cron runs when either one matches, not only when both do. This surprises many people.
Next run examples (UTC):
1. Fri 2026-03-20 00:00
2. Fri 2026-03-27 00:00
3. Fri 2026-04-03 00:00
4. Fri 2026-04-10 00:00
5. Mon 2026-04-13 00:00Look at the last line: April 13 is a Monday, and it still runs. Run this today and you will get later dates, but the same pattern.
When it helps
- Reading a crontab entry that someone else wrote, before you change it
- Checking that a backup runs in the quiet hours you intended, in your server's time zone
- Confirming a CI schedule, such as a GitHub Actions
scheduletrigger, which runs in UTC - Catching a schedule that looks fine and yet can never fire
Tips for a better result
- Cron uses the time zone of the machine running it, which is often UTC on servers. Choose UTC here unless you know otherwise.
- To run on a Friday only when it is the 13th, cron alone cannot do it. Schedule on the 13th and test the weekday in the command.
- Ranges cannot wrap around midnight. Write
22-23,0-2, not22-2, and the error message reminds you.
Good to know
- It handles the standard five fields. Six- and seven-field Quartz or Spring expressions are refused with an explanation, so remove the seconds and year fields to read them here.
- Quartz symbols
L,W,#and?are not supported, because standard cron has no such thing. - Schedulers differ in small ways. Kubernetes, cloud services and CI systems each have their own rules, so check their documentation for anything unusual.
- It explains a schedule and never runs anything, so it cannot tell you whether your cron daemon is working.
Questions people ask
What does */15 mean?
Every value in the field that is a multiple of the step, counted from the start of the range. In the minute field that gives 0, 15, 30 and 45, so it is not 15 minutes from when you saved it.
Why does my job also run on days I did not expect?
If you set both day of month and day of week, cron runs when either one matches. Set one of them to * for the usual behavior.
Will a job set for the 31st run in shorter months?
No. Months without that date are skipped, and cron does not move the run to the last day of the month. The page warns you about this.
Are the shortcuts such as @daily standard?
They come from Vixie cron and are widely supported. @daily means 0 0 * * *. @reboot has no schedule at all, so there are no times to list.
What to use next
- Unix Timestamp Converter: to convert run times stored as timestamps
- Time Zone Converter: to translate a run time for a teammate elsewhere
- Log Prettifier: to read what the job wrote after it ran
Learn more
Last reviewed . Read our editorial policy.