Skip to content
Cron Cookbook

Run a job every 10 minutes

The cron expression for every 10 minutes is */10 * * * *. The */10 step in the minute field fires at :00, :10, :20, :30, :40 and :50, six times an hour and 144 times a day.

crontab syntax · 5 fields
*/10****

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

*/10Minute
Every 10th minute: 0, 10, 20 … 50
*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
*/10 * * * * /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 10-minute schedules

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

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

Every 2, 3, 4, 6, 12 or 20 minutes

Change the step to change the interval. Each of these divides 60, so the runs stay evenly spaced across the top of the hour. Every 5, 15 and 30 minutes have pages of their own.

IntervalExpressionRunsStarting later
Every 2 minutes*/2 * * * *30 an hour: :00, :02, :04 … :581-59/2 * * * *
Every 3 minutes*/3 * * * *20 an hour: :00, :03, :06 … :571-59/3 * * * *
Every 4 minutes*/4 * * * *15 an hour: :00, :04, :08 … :562-59/4 * * * *
Every 6 minutes*/6 * * * *10 an hour: :00, :06, :12 … :543-59/6 * * * *
Every 12 minutes*/12 * * * *5 an hour: :00, :12, :24, :36, :486-59/12 * * * *
Every 20 minutes*/20 * * * *3 an hour: :00, :20, :4010-59/20 * * * *

The last column shifts the same interval off the round minutes: 10-59/20 * * * * runs at :10, :30 and :50. Every 20 minutes can also be written with the minutes listed, as 0,20,40 * * * *, and */20 9-17 * * 1-5 runs 27 times a weekday, from 09:00 through 17:40.

A step that doesn't divide 60 leaves a short gap at the top of the hour, because the count starts again at :00: */7 * * * * runs at :00, :07 … :49 and :56, then 4 minutes later at :00, and */25 * * * * runs at :00, :25 and :50, then 10 minutes later. For an exact interval like that, write one line per start time, as for every 45 minutes.

GitHub Actions runs a schedule at most once every 5 minutes, so */2, */3 and */4 won't run that often there (see GitHub Actions cron). On AWS EventBridge, rate(20 minutes) counts from when the rule was created; the clock-aligned form is cron(0/20 * * * ? *).

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

[Install]
WantedBy=timers.target

Persistent=true runs a missed job once when the machine is back on, which cron never does. For 10 minutes after the last run finished rather than on the clock, use OnUnitActiveSec=10min with OnBootSec=10min instead of OnCalendar.