Fix the expression to see what it means and when it runs.
- 30 minute 0-59
- 8 hour 0-23
- * day of month 1-31
- * month 1-12
- 1-5 weekday 0-6
At 08:30, on Monday, on Tuesday, on Wednesday, on Thursday, on Friday.
Next runs
This expression does not run once in the coming year, because it points at a day that does not exist, such as 30 February.
How to use it in three steps
Step by step, with this page's example.
- 01
Enter a five-field cron expression.
- 02
Read what it means in a plain sentence.
- 03
Check the next run times.
30 8 * * 1-5
at 08:30, Monday through Friday. Questions
- What is a cron expression?
- It is five fields (minute, hour, day of month, month, day of week) that tell a server when to run a job. The tool turns it into a plain sentence and lists the next run times.
- How do I write a cron for every 5 minutes?
- Enter */5 * * * *. An asterisk with a slash means how many units apart the job runs, so */5 in the minute field is every five minutes.
- How does cron combine day of month and day of week?
- In standard cron, when both fields are set (not an asterisk), the job runs when either one matches, not both. This is a common trap for schedules like the first Monday of the month.
- What are the five fields?
- Minute, hour, day of month, month and day of week. An asterisk means every value.
- Which time zone does cron use?
- The time zone of the server it runs on. A 9:00 job on a UTC server runs at 10:00 or 11:00 in Central European Time (CET/CEST), so check the server's TZ setting.