Cron: every 5 minutes
The cron expression `*/5 * * * *` fires at the top of every fifth minute. How it works, common use cases, and the gotchas when stacking five-minute jobs.
# expression
*/5 * * * * Means: At every 5th minute past every hour — so 00, 05, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55.
→ Open in cron builder (pre-filled)
# common use cases
- Polling a queue for new jobs without long-running workers.
- Aggregating metrics into a coarse-grained time series.
- Health checks that hit an internal endpoint to detect drift.
# next fires (sample)
00:0500:1000:1500:2000:25
# pitfalls
- Five-minute jobs that take >5 minutes pile up. Always set a timeout shorter than the interval.
- If you run on every minute (`* * * * *`) and want every 5th, prefer `*/5 * * * *` — it produces strictly aligned timestamps for joins.