Skip to content
Cron Cookbook

Run a job every 15 minutes

The cron expression for every 15 minutes is */15 * * * *. The */15 step in the minute field fires at :00, :15, :30 and :45, four times an hour and 96 times a day.

crontab syntax · 5 fields
*/15****

Next 5 runs

Vercel always runs schedules in UTC, and GitHub Actions does unless you set a time zone. Crontab and Kubernetes use the server's time zone.

Field by field

*/15Minute
Every 15th minute: 0, 15, 30, 45
*Hour
Every hour, 0 to 23
*Day of month
Every day of the month
*Month
Every month
*Day of week
Every day of the week

By platform

Most schedulers take the same five fields. The wrapper, time zone and limits differ.

crontab -e
# m h  dom mon dow   command
*/15 * * * * /usr/local/bin/sync.sh >> /var/log/sync.log 2>&1

Runs in the server's local time zone

Cron starts jobs with a minimal environment: use absolute paths, and send output to a log so failures don't disappear.

Other 15-minute schedules

Start the step at another minute to move runs off the quarter hours, or narrow the hour and weekday fields.

ExpressionRuns
0,15,30,45 * * * *Same as */15 * * * *, with the minutes listed
5-59/15 * * * *Every 15 minutes at :05, :20, :35 and :50
*/15 9-17 * * 1-5Every 15 minutes from 09:00 through 17:45, Monday through Friday

Every 15 minutes between two times

An hour range covers every minute of its last hour, so */15 9-17 * * * keeps going until 17:45. To stop at 17:00, end the range an hour earlier and add the last run as its own line. A window that starts or ends on a quarter past or half past the hour needs a line for that partial hour too:

crontab -e
# Every 15 minutes from 08:30 to 17:00, Monday to Friday
30,45 8 * * 1-5 /usr/local/bin/job.sh
*/15 9-16 * * 1-5 /usr/local/bin/job.sh
0 17 * * 1-5 /usr/local/bin/job.sh
WindowLinesRuns
09:00 to 17:45*/15 9-17 * * *36 a day, the last at 17:45
09:00 to 17:00*/15 9-16 * * * and 0 17 * * *33 a day, the last at 17:00
08:30 to 17:0030,45 8 * * *, */15 9-16 * * * and 0 17 * * *35 a day: 08:30, 08:45, 09:00 … 16:45, 17:00
22:00 to 06:00*/15 22-23,0-5 * * * and 0 6 * * *33 a night. A range can't wrap past midnight, so list both parts

The hours are in the cron daemon's time zone, usually the server's. GitHub Actions uses UTC unless you add timezone, and EventBridge rules always use UTC. In GitHub Actions give each line its own - cron: entry; a Kubernetes CronJob or an EventBridge rule takes one expression, so make one per line.

Every 15 minutes in Jenkins, Quartz, Spring and systemd

Schedulers outside crontab write the same schedule differently: Jenkins spreads jobs with H, Quartz and Spring add a seconds field, and systemd uses calendar events.

SchedulerEvery 15 minutesNotes
JenkinsH/15 * * * *Every 15 minutes at an offset fixed per job, such as :07, :22, :37 and :52, so jobs don't all start at once. */15 also works
Quartz0 0/15 * * * ?Seconds come first, and one day field must be ?. 0 */15 * * * * fails with “Support for specifying both a day-of-week AND a day-of-month parameter is not implemented”
Spring @Scheduled0 */15 * * * *Six fields with seconds first; ? is optional. fixedRate = 15 with timeUnit = MINUTES counts from startup instead of the clock
systemd timerOnCalendar=*:0/15Normalizes to *-*-* *:00/15:00. Check it with systemd-analyze calendar '*:0/15'
job.timer
# /etc/systemd/system/job.timer (with a matching job.service)
[Timer]
OnCalendar=*:0/15
Persistent=true

[Install]
WantedBy=timers.target

Persistent=true runs a missed job once when the machine is back on, which cron never does. The Quartz, Spring and systemd forms were checked with Quartz 2.5.1, Spring 6.2 and systemd-analyze.