Cron Expression for Every 10 Minutes
The cron expression for "every 10 minutes", what each field means, and the next run times on your clock.
What is the cron expression for every 10 minutes? The cron expression for every 10 minutes is */10 * * * *. The minute field steps through 0 to 59 in tens, so the job fires at minutes 0, 10, 20, 30, 40 and 50 of every hour. The other four fields stay as wildcards, which adds up to 144 runs a day.
*/10 * * * *Every 10 minutes
- …
- …
- …
- …
- …
How do you run every 10 minutes starting at minute 5?
Put a range in front of the step. 5-59/10 * * * * starts at minute 5 and adds 10 until the hour runs out, so it fires at 5, 15, 25, 35, 45 and 55. The crontab man page describes exactly this: a step after a range skips through that range by the step's value. Any start from 0 to 9 keeps the same 10-minute gap and the same 144 runs a day.
An offset is worth the extra characters when other jobs already own the round minutes. Five-minute, ten-minute and hourly jobs all meet at minute 0, so moving yours to minute 3 or 7 keeps it clear of them without changing how often it runs.
How do you limit a 10-minute job to working hours?
Restrict the hour and day-of-week fields and leave the minute step alone. */10 9-17 * * 1-5 runs every 10 minutes from 09:00 to 17:50, Monday to Friday. Hour ranges include both ends, so 17 covers the whole 17:00 hour and the last run is at 17:50. To stop at 17:00 sharp, use */10 9-16 * * 1-5 plus a second line, 0 17 * * 1-5.
Other schedulers write the same schedule their own way. Spring's cron format has six fields with seconds first, so every 10 minutes is 0 */10 * * * *. AWS EventBridge adds a year field and needs a ? in one of the day fields; its docs list 0/10 * ? * MON-FRI * for every 10 minutes on weekdays. GitHub Actions takes standard five-field cron and allows nothing more often than every 5 minutes, so */10 works there as written.
Frequently asked
How do I run a cron job every 10 minutes starting at 5?
Use 5-59/10 * * * *. It fires at 5, 15, 25, 35, 45 and 55 minutes past every hour. Our generator also reads 5/10 that way, but the range form is the one the crontab man page documents, so it is the safer choice.
How do I run every 10 minutes only between 9am and 5pm?
Use */10 9-16 * * * for runs from 09:00 to 16:50, or */10 9-17 * * * if runs up to 17:50 are fine. The hours follow the scheduler's time zone, so check which zone that is before you pick the range.
What is every 10 minutes in Spring cron?
0 */10 * * * *. Spring puts a seconds field in front of the usual five, so add 0 for the seconds before a crontab expression. Its docs give 0 0 * * * * as the top of every hour, which follows the same pattern.