Cron expression for every 15 minutes
Runs the job four times an hour, at minutes 0, 15, 30 and 45.
*/15 * * * *
Every 15 minutes
Field by field
- Minute · 0–59
*/15every 15th minute - Hour · 0–23
*every hour - Day of month · 1–31
*every day of the month - Month · 1–12 or JAN–DEC
*every month - Day of week · 0–7 or SUN–SAT
*every day of the week
Next runs in your local time
Why this schedule, and when it bites
Fifteen-minute cron is the default heartbeat of a dashboard: frequent enough that numbers look current, sparse enough that a slow job never has to race its own next run. The grid is what makes it comfortable: the clock decides when runs start, so a job that finishes in 40 seconds and a job that finishes in 14 minutes both begin at the same marks. What the schedule cannot do is promise that the previous run has finished.
The grid ignores run time. */15 starts at :00, :15, :30 and :45 whether the last run ended a second ago or is still going. Watch the p95 duration of the job, not the average: one slow run per hour is enough to put two copies side by side.
Quarter hours pile up with the hourly crowd. Every */15 job also fires at :00, the single busiest minute of the hour. If the job calls an API with a per-minute quota, offset the grid, for example 7-59/15, and watch the quota counters calm down.
Logs lie about frequency. A failing job that retries internally can write four errors per hour and look like a flood; a job killed early writes one line and looks quiet. Send a run duration metric, not just an error counter.
Where this cron expression shows up
- Feeds that need to feel live without being every-minute noise
- Picking up work that arrives in bursts
- Cache warming that costs more than it saves if it runs each minute
Common variations
-
Every thirty minutes
*/30 * * * * Every 30 minutes
-
Every ten minutes
*/10 * * * * Every 10 minutes
-
Every 15 minutes on weekdays, 9 to 5
*/15 9-17 * * 1-5 Every 15 minutes, between 09:00 AM and 05:59 PM, Monday through Friday
Ranges, steps, and names are spelled out on the cheat sheet.
Questions this schedule raises
Is */15 * * * * the same as every 15 minutes?
Yes, for a clock-based reading: it fires at minutes 0, 15, 30 and 45 of every hour, 96 times a day. It does not mean fifteen minutes after the last start, which matters only when a run can outlive its slot.
How do I keep every-15-minute runs from overlapping?
Take a non-blocking lock at the top of the job and exit when it is held. On Linux, flock -n is one line in the crontab entry; in the script, a pid file with a liveness check does the same. Alert if the lock is still held two slots in a row, because that means the job is stuck, not slow.