What is Cron Expression & Schedule Calculator?
A cron expression is the five-field schedule that tells cron, crontab and many job schedulers when to run a task: minute, hour, day of month, month and day of week. For example 0 3 * * * means every day at 03:00, and */15 * * * * means every 15 minutes.
This cron expression explainer turns any standard expression into plain English, such as "At 09:00, on weekdays", breaks down what each field is set to, and lists the next five times the schedule will run in your own time zone, so you can confirm a schedule before you put it in a crontab, a Kubernetes CronJob or a GitHub Actions workflow. Invalid expressions get a message that names the field and value at fault, and presets give you a starting point.
How to use Cron Expression & Schedule Calculator
- Type a cron expression with five fields separated by spaces, such as 30 2 * * 1, or a macro such as @daily.
- Or click a preset, such as every 15 minutes, weekdays at 9am or the 1st of the month.
- Read the plain-English description, the field-by-field table and the next five run times.
- Adjust the fields until the schedule and run times match what you need, then copy it into your crontab or scheduler.
Key features
- Plain-English description of any five-field cron expression
- Next five run times in your local time zone
- Field-by-field breakdown of minute, hour, day, month and weekday
- Lists, ranges, steps, month and day names, and macros such as @daily
- Clear error messages that name the invalid field
- One-click presets for frequent schedules
Common use cases
- Checking a crontab line before adding it to a server
- Writing schedules for Kubernetes CronJobs and GitHub Actions workflows
- Reviewing backup, report and cleanup job schedules
- Learning cron syntax with working examples
- Translating a schedule request ("every weekday at 9am") into cron format
Technical details & standards
The five fields are, in order: minute (0–59), hour (0–23), day of month (1–31), month (1–12 or JAN–DEC) and day of week (0–6 or SUN–SAT, where 0 and 7 both mean Sunday). Each field accepts * for every value, a number, a list (1,15), a range (1-5), a step (*/10, 0-30/5 or 5/15) and combinations of them. The macros @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly are expanded to their five-field equivalents.
When both day of month and day of week are restricted, standard cron runs the job when either matches, not both, and the description and run times follow that rule. Run times are calculated in your browser's time zone, which is shown next to them; cron itself uses the server's time zone, and GitHub Actions and many cloud schedulers use UTC, so convert if they differ. Systems such as Quartz and AWS EventBridge use six or seven fields including seconds or year; this tool covers the standard five-field format.
Check a cron expression for every 15 minutes
In a standard five-field cron expression, */15 in the minute field matches minutes 0, 15, 30 and 45 of each hour. Preview the next runs before adding the expression to a scheduler.
Example input
*/15 * * * *- Paste */15 * * * * into the expression input and read the schedule explanation.
- Inspect the upcoming run times. This is a clock-based schedule: starting a job at 10:07 does not move the next matching minute to 10:22.
- For weekdays at 9am, try 0 9 * * 1-5. The preview uses your browser’s local timezone; confirm the deployment scheduler’s timezone separately. Six-field cron formats that include seconds need a different expression.
Expected result
Every hour at :00, :15, :30 and :45Continue with a related task:
Cron expression examples
Ready-made five-field expressions for the schedules people ask for most. Paste one into the calculator above to see its next run times. Times are in the time zone of the machine running cron; GitHub Actions and most cloud schedulers use UTC.
| Cron expression | Schedule |
|---|---|
| * * * * * | Every minute |
| */2 * * * * | Every 2 minutes |
| */5 * * * * | Every 5 minutes |
| */10 * * * * | Every 10 minutes |
| */15 * * * * | Every 15 minutes |
| */30 * * * * | Every 30 minutes |
| 0 * * * * | Every hour |
| 0 */2 * * * | Every 2 hours |
| 0 */3 * * * | Every 3 hours |
| 0 */6 * * * | Every 6 hours |
| 0 */12 * * * | Every 12 hours |
| 0 0 * * * | Every day at midnight |
| 30 2 * * * | Every day at 2:30 am |
| 0 9,17 * * * | Twice a day, at 9 am and 5 pm |
| 0 9 * * 1-5 | Every weekday at 9 am |
| 0 8 * * 1 | Every Monday at 8 am |
| 0 0 * * 0 | Every Sunday at midnight |
| 0 0 1 * * | On the 1st of every month |
| 0 0 1 */3 * | Every quarter (1 Jan, Apr, Jul, Oct) |
| 0 0 1 1 * | Once a year, on 1 January |
Frequently asked questions
How do I run a cron job every 5 minutes?
Use */5 * * * *. The */5 in the minute field means every fifth minute (0, 5, 10 … 55) of every hour. For every 15 minutes use */15 * * * *, and for every 30 minutes use */30 * * * *.
What cron expression runs every day at midnight?
0 0 * * * (or the macro @daily): minute 0 of hour 0, every day. For 9:30 every morning use 30 9 * * *, and for midnight on the 1st of every month use 0 0 1 * *.
How do I schedule a job for weekdays only?
Set the day-of-week field to 1-5 (Monday to Friday), or MON-FRI. For example 0 9 * * 1-5 runs at 09:00 every weekday, and 0 18 * * 5 runs at 18:00 every Friday.
How do day of month and day of week combine?
If both fields are restricted, cron runs the job when either one matches. 0 0 13 * 5 runs at midnight on every 13th and on every Friday, not only on Friday the 13th. To require both, schedule on one field and check the other inside the script.
What time zone does cron use?
Classic cron uses the server's local time zone. Many managed schedulers, including GitHub Actions and most cloud services, use UTC, so convert your intended local time to UTC when writing the expression. The run times in this tool are shown in your browser's time zone.
What cron expression runs every hour?
0 * * * * runs at minute 0 of every hour.
What do the 5 cron fields mean?
In order, they are minute, hour, day of month, month and day of week.
What cron expression runs every Monday at 9 AM?
0 9 * * 1 runs at 09:00 every Monday.
Does this cron calculator support seconds or Quartz syntax?
No. It covers the standard 5-field cron format used by Linux crontab.
Is my data safe?
Processing happens locally in your browser. Tool input is not sent to CodeUnpack servers.
Does it work offline?
Once the page has loaded, this tool can process input without an internet connection.