Skip to content
cronhelp.me
Preset

Cron expression for every 5 minutes

*/5 * * * *
Cron expression5-field
Every 5 minutes
Lint
OKNo issues found — this expression is well-formed.
Next runs
#
1
2
3
4
5
6
7
Copy as

What it does

The expression */5 * * * * tells cron to run a job once every five minutes, all day, every day. The */5 in the first field means "every 5th minute" — cron starts at minute 0 and fires at :00, :05, :10, and so on through :55. The four remaining fields are all *, so there is no restriction on hour, day, month, or weekday.

That works out to 12 runs per hour and 288 runs per day. It is a common cadence for polling a queue, refreshing a cache, or running a lightweight health check — frequent enough to feel near-real-time, cheap enough not to overload the system.

A word of caution: */5 divides the 0–59 range evenly, so every interval is exactly five minutes. But steps that do not divide 60 evenly — */7, for example — reset at the top of each hour and produce an uneven final gap. If your job must be evenly spaced, stick to divisors of 60: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20 or 30.

If overlapping runs would cause problems — a slow job that occasionally takes longer than five minutes — cron will happily start a second copy before the first finishes. Add a lock file or use your scheduler's concurrency controls to prevent pile-ups.

Related presets

FAQ

Does */5 run at exactly :00, :05, :10 …?
Yes. Because 5 divides 60 evenly, the intervals are uniform across the whole hour and reset cleanly at the top of each hour.
How do I run every 5 minutes only during business hours?
Constrain the hour and weekday fields: */5 9-17 * * 1-5 runs every 5 minutes from 9 AM to 5:59 PM, Monday through Friday.
Is */5 the same as 0,5,10,…,55?
Functionally identical for the minute field. The step form is just shorter and easier to read.
Will two runs overlap if my job is slow?
Cron does not wait for the previous run to finish. If a job can exceed 5 minutes, guard it with a lock (e.g. flock) or your scheduler's concurrency policy.