Cron every 7 minutes
The cron expression */7 * * * * runs every 7 minutes, every day. Below: what each field means, its next runs in your time zone, and how to get an alert if it stops.
*/7Minute*Hour*Day of month*Month*Day of weekEvery 7 minutes, every day.
What does */7 * * * * mean?
Every 7 minutes, every day.
| Field | Written | Means |
|---|---|---|
| Minute | */7 | every 7 from 0: 0, 7, 14, 21, 28, 35, 42, 49 and 56 |
| Hour | * | every hour |
| Day of month | * | every day of month |
| Month | * | every month |
| Day of week | * | every day of week |
How often does it run?
On a day it runs, it runs 216 times. It runs on 365 days of 2027, 78,840 runs in all. The gap between runs is not constant: it varies from 4 minutes to 7 minutes.
- Runs on a day it runs
- 216
- Days it runs in 2027
- 365
- Runs in 2027
- 78,840
- Shortest gap
- 4 minutes
When is this schedule useful?
People reach for odd steps to spread load away from round minutes, for example so several polling jobs do not all fire at :00 and :05.
What should you watch out for?
The step restarts every hour: runs land at :00, :07 and so on up to :56, then :00 again four minutes later. For a true 7-minute rhythm use a loop with sleep or a systemd timer.
What happens when the clocks change?
On Sunday 14 March 2027, clocks in America/New_York jump from 02:00 to 03:00. The 9 runs from 02:00 to 02:56 fall in the missing hour and do not happen, because cronie schedules jobs that run more than once an hour normally.
On Sunday 1 November 2026, clocks in America/New_York fall back from 02:00 to 01:00, so the hour from 01:00 happens twice. Cronie runs this schedule normally through the repeated hour, so 9 runs happen twice, once at each offset.
A server that keeps its clock on UTC never sees either change. The next run calculator previews any zone.
How do you write it for other schedulers?
| Scheduler | Expression | Notes |
|---|---|---|
| Kubernetes CronJob | */7 * * * * | Exact |
| GitHub Actions | */7 * * * * | GitHub Actions runs scheduled workflows at most once every 5 minutes, so runs closer together than that will not happen. |
| Vercel Cron | */7 * * * * | Vercel runs cron jobs in UTC; write the hours in UTC. |
| Quartz | 0 */7 * * * ? | Exact |
| Spring @Scheduled | 0 */7 * * * * | Exact |
| AWS EventBridge | cron(*/7 * * * ? *) | Exact |
| systemd OnCalendar | *-*-* *:00/7:00 | Exact |
How do you get an alert when it stops running?
Create a cron check with the schedule */7 * * * * and 2 minutes of grace, then ping it at the end of the job. If a run does not report in by the end of the grace time, CronMissed sends an alert.
*/7 * * * * /usr/local/bin/job.sh && curl -fsS --max-time 10 --retry 5 --retry-connrefused -o /dev/null "https://ping.cronmissed.com/5f0c1b2e-7a3d-4c8e-9b61-2d4f8a7e3c10"The snippet builder writes the same ping for systemd, GitHub Actions, Vercel, Kubernetes and backup scripts.
Questions and answers
- Every 7 minutes, every day.
- On a day it runs, it runs 216 times. It runs on 365 days of 2027, 78,840 runs in all. The gap between runs is not constant: it varies from 4 minutes to 7 minutes.
- Create a cron check with the schedule */7 * * * * and 2 minutes of grace, then add the ping to the end of the job so it requests the check URL after each successful run. If a run does not report in by the end of the grace time, CronMissed alerts you by email, Slack, Discord, Telegram, ntfy or webhook.
What does */7 * * * * mean in cron?
How often does */7 * * * * run?
How do I get an alert when this job stops running?
Know the first time this schedule misses a run
CronMissed expects a ping at every run of */7 * * * *. When one is late or reports a failure, you get an alert by email, Slack, Discord, Telegram, ntfy or webhook.