Cron expression: every 5 minutes
*/5 * * * *
Runs 12 times an hour, at minute 0, 5, 10, 15, 20, 25 and so on past every hour.
What each field means
| Field | Value | Meaning |
|---|---|---|
| minute | */5 | every 5 minutes |
| hour | * | every hour |
| day of month | * | every day of month |
| month | * | every month |
| day of week | * | every day of week |
Next runs
Starting from 1 January 2026, 00:00 UTC:
- Thursday 1 Jan 00:00
- Thursday 1 Jan 00:05
- Thursday 1 Jan 00:10
- Thursday 1 Jan 00:15
- Thursday 1 Jan 00:20
- Thursday 1 Jan 00:25
Things to watch
Because 5 divides evenly into 60, the schedule is regular across every hour boundary.
The same schedule elsewhere
# crontab
*/5 * * * * /usr/local/bin/my-job >> /var/log/my-job.log 2>&1
# GitHub Actions (.github/workflows/job.yml) — always UTC
on:
schedule:
- cron: '*/5 * * * *'
# Kubernetes CronJob
spec:
schedule: "*/5 * * * *"
# AWS EventBridge — six fields, and ? in one of the day fields
cron(*/5 * * * ? *)
Frequently asked questions
What is the cron expression to run a job every 5 minutes?
*/5 * * * *
Which time zone does cron use?
The server's local time zone, unless the scheduler says otherwise. GitHub Actions always uses UTC. Kubernetes CronJobs use UTC unless you set spec.timeZone. Running servers in UTC and converting only for display avoids an entire class of daylight-saving bugs.
What happens if the previous run is still going?
Standard cron starts a new one regardless, so long-running jobs can pile up. Wrap the command in flock -n /var/lock/my-job.lock, or set concurrencyPolicy: Forbid on a Kubernetes CronJob.
Why did my cron job not run at all?
The three usual causes: the script is not executable, the command relies on a PATH or environment variable that cron does not set, or output went nowhere because no mail transport is configured. Redirect stdout and stderr to a log file and the reason usually becomes obvious.