0 9 * * *
| Symbol | Meaning | Example |
|---|---|---|
* |
Any value | * * * * * |
, |
List of values | 1,15 * * * * |
- |
Range | 0 9-17 * * * |
/ |
Step / every N | */15 * * * * |
MIN HOUR DOM MON DOW
What is a cron expression?
A cron expression is a schedule written as five fields: minute, hour, day of month, month and day of week. Cron on Linux, CI pipelines and most job schedulers read it. For example, 0 9 * * 1-5 means 09:00 on every weekday.
How to use the cron generator
- Pick Builder to make an expression, or Parser to read one.
- In Builder, click a schedule under Common Schedules, or set each field yourself.
- In Parser, paste an expression and click Parse.
- Read the plain-English sentence and the Next 10 Runs, then click Copy.
Common cron expressions
*/15 * * * *: every 15 minutes0 9 * * 1-5: weekdays at 09:000 0 1 * *: the 1st of each month at midnight0 0 * * 0: every Sunday at midnight30 8 * * 1: every Monday at 08:30
The symbols: * means any value, */n means every n steps, n-m is a range and n,m is a list.
Frequently Asked Questions
What is the shortest cron interval?
One minute. For jobs that run every few seconds, use a scheduler that supports seconds, such as systemd timers, node-cron or APScheduler.
How do I run a job on weekdays at 9 AM?
Use 0 9 * * 1-5. The fifth field is the day of the week: 1 is Monday and 5 is Friday.
What happens if I set both day of month and day of week?
In Vixie cron, the most common version, the job runs when either field matches. 0 0 1 * 5 runs at midnight on the 1st of each month and on every Friday.
Why does month start at 1 but day of week at 0?
Months follow the calendar (1–12). Day of week follows the original Unix design, where Sunday is 0 (0–6). Many systems also accept 7 for Sunday.
Is */5 the same as 0/5 in the minute field?
Yes. Both run at :00, :05, :10 and so on. Use 15/5 to start at :15 instead.