Cron expression for every 15 minutes
*/15 * * * * runs four times an hour, at :00, :15, :30 and :45.
This tool runs in your browser. We never send what you type or paste to a server.
The expression
*/15 * * * * /path/to/commandThe expression has five fields, read left to right:
| Field | Value | Meaning here |
|---|---|---|
| Minute | */15 | every 15th minute: 0, 15, 30 and 45 |
| Hour | * | every hour |
| Day of month | * | every day of the month |
| Month | * | every month |
| Day of week | * | every day of the week |
When it runs
Starting from Wed 2027-01-06 10:07 UTC, the next runs are:
Wed 2027-01-06 10:15
Wed 2027-01-06 10:30
Wed 2027-01-06 10:45
Wed 2027-01-06 11:00
Wed 2027-01-06 11:15
Wed 2027-01-06 11:30Cron uses the time zone of the machine or service that runs it. The explainer at the top of this page shows the next runs in your own time zone.
Variations
0,15,30,45 * * * * identical, written as a list
5,20,35,50 * * * * every 15 minutes, five minutes past each quarter
*/15 8-18 * * * every 15 minutes from 08:00 to 18:45
*/15 * * * 1-5 every 15 minutes, Monday to Friday onlyNote the end of the third line: an hour range of 8-18 includes the whole of hour 18, so the last run is at 18:45, not 18:00. To stop at 18:00 exactly you need two lines, */15 8-17 * * * and 0 18 * * *.
Why 15 divides cleanly and 20 or 25 may not
A step counts from 0 and stops at 59, then starts again in the next hour. Because 15 divides 60, the gaps are all equal. So do 1, 2, 3, 4, 5, 6, 10, 12, 20 and 30. A step such as */25 gives runs at :00, :25 and :50, followed by a gap of only ten minutes.
Quartz adds a seconds field at the front, AWS adds a year at the end, and both need ? in one of the two day fields. See how the syntaxes differ.
The same schedule in other schedulers
| Scheduler | Expression |
|---|---|
| Unix cron, crontab | */15 * * * * |
| Kubernetes CronJob | schedule: "*/15 * * * *" |
| GitHub Actions | - cron: '*/15 * * * *' |
| Quartz (Java, Spring) | 0 0/15 * * * ? |
| AWS EventBridge | cron(0/15 * * * ? *) or rate(15 minutes) |
Questions
How do I write every 15 minutes in cron?
*/15 * * * *. It runs at 0, 15, 30 and 45 minutes past every hour.
How do I run a job every 15 minutes only during business hours?
*/15 9-17 * * 1-5 runs every 15 minutes from 09:00 to 17:45, Monday to Friday, in the time zone of the machine running cron.