Cron job every 15 minutes
The crontab line for a job every 15 minutes is */15 * * * *. It runs 96 times a day, 35,040 times a year. Edit it below to see the next runs in your time zone.
How */15 * * * * reads
The five fields are minute, hour, day of month, month and day of week. A star means every value.
| Field | Value | Meaning |
|---|---|---|
| Minute | */15 | every 15th minute: 0, 15, 30, 45 |
| Hour | * | every hour |
| Day of month | * | every day of month |
| Month | * | every month |
| Day of week | * | every day of week |
For example, from Wednesday 6 January 2027 at 10:07 the next runs are: Wed 6 Jan 2027, 10:15; Wed 6 Jan 2027, 10:30; Wed 6 Jan 2027, 10:45; Wed 6 Jan 2027, 11:00; Wed 6 Jan 2027, 11:15.
What a job every 15 minutes is for
A quarter of an hour is a common rhythm for reports and checks that people look at during the day: rebuilding a sitemap, sending digest notifications, or checking a supplier’s stock file.
Common mistakes
- To run every 15 minutes only during working hours, limit the hour field: «*/15 9-17 * * 1-5» runs from 09:00 to 17:45, Monday to Friday. The last run is 17:45, not 17:00, because the hour field includes all of hour 17.
- Runs are at :00, :15, :30 and :45 of the server’s clock, which may not be your time zone.
The same schedule as a systemd timer
On systems with systemd, a timer can replace the crontab line: OnCalendar=*:0/15. Check it with systemd-analyze calendar "*:0/15", which prints the next run.
Know when it didn’t run
Cron doesn’t tell you when a job stops running. Add a heartbeat monitor with a period of 15 minutes and end the line with a call to its URL, for example */15 * * * * /path/job.sh && curl -fsS -m 10 <ping URL>. If a ping is late by more than the grace time you set, you get an alert, and a call to the URL with /fail reports a failure at once.
What is the cron expression for a job every 15 minutes?
*/15 * * * *. It runs 96 times a day, 35,040 times a year, on the server’s clock.
How do I run a job every 15 minutes with systemd instead?
Create a timer with OnCalendar=*:0/15 next to a service that runs the job, then enable it with systemctl enable --now name.timer. Persistent=true also runs a run that was missed while the machine was off.
Other schedules: every minute · every 5 minutes · every 10 minutes · every 30 minutes · every hour · every 2 hours · every 6 hours · every 12 hours · every day at midnight · every Monday · every weekday · on the first day of every month · Cron expression generator