Cron expression 30 2 * * * meaning: every day at 2:30am
The cron expression 30 2 * * * runs at 02:30, every day. Below: what each field means, its next runs in your time zone, and how to get an alert if it stops.
30Minute2Hour*Day of month*Month*Day of weekAt 02:30, every day.
What does 30 2 * * * mean?
At 02:30, every day.
| Field | Written | Means |
|---|---|---|
| Minute | 30 | 30 |
| Hour | 2 | 2 |
| 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 once. It runs on 365 days of 2027, 365 runs in all. Runs are 1 day apart.
- Runs on a day it runs
- 1
- Days it runs in 2027
- 365
- Runs in 2027
- 365
- Shortest gap
- 1 day
When is this schedule useful?
Off-peak maintenance such as database vacuum, log compaction, or a backup that must finish before the morning.
What should you watch out for?
02:30 falls in the spring-forward gap in US and Central European zones, and in Central Europe it happens twice when clocks fall back. Cronie moves or deduplicates it; other schedulers may not.
What happens when the clocks change?
On Sunday 14 March 2027, clocks in America/New_York jump from 02:00 to 03:00. The 02:30 run does not exist that night, so Linux cron (cronie) runs it when the clock jumps, at 03:00.
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. No run falls in the repeated hour, so the day runs as usual.
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 | 30 2 * * * | Exact |
| GitHub Actions | 30 2 * * * | Exact |
| Vercel Cron | 30 2 * * * | Vercel runs cron jobs in UTC; write the hours in UTC. |
| Quartz | 0 30 2 * * ? | Exact |
| Spring @Scheduled | 0 30 2 * * * | Exact |
| AWS EventBridge | cron(30 2 * * ? *) | Exact |
| systemd OnCalendar | *-*-* 02:30:00 | Exact |
How do you get an alert when it stops running?
Create a cron check with the schedule 30 2 * * * and 5 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.
30 2 * * * /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
- At 02:30, every day.
- On a day it runs, it runs once. It runs on 365 days of 2027, 365 runs in all. Runs are 1 day apart.
- Create a cron check with the schedule 30 2 * * * and 5 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 30 2 * * * mean in cron?
How often does 30 2 * * * 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 30 2 * * *. When one is late or reports a failure, you get an alert by email, Slack, Discord, Telegram, ntfy or webhook.