0 6 * * *
At 06:00
Field by Field
| Field | Value | Matches |
|---|---|---|
| Minute | 0 | 0 |
| Hour | 6 | 6 |
| Day of month | * | every day |
| Month | * | every month |
| Day of week | * | every day |
Before the Working Day
Six in the morning is the standard slot for work that must be finished before anyone arrives: overnight aggregation, report generation, cache warming, data imports from partners who deliver files overnight.
It is late enough that the true overnight batch (backups, reindexing) has finished, and early enough to leave two or three hours of slack before the first person opens a dashboard.
Check What You Depend On
A 6am job that reads yesterday's aggregated data is only correct if the aggregation finished. If that job is scheduled at 05:30 and occasionally takes 45 minutes, this one silently reads stale data one morning in ten.
Chain them explicitly — have the first job trigger the second on success — rather than spacing them and hoping.
Time Zone Matters Here
"Before the working day" is a local-time concept. On a UTC scheduler serving a US team, 6am UTC is the middle of the previous night — the report is ready, but it describes the wrong day's data.
Time Zones
Standard crontab evaluates in system local time. Vercel Cron, GitHub Actions, Kubernetes
CronJobs and AWS EventBridge all evaluate in UTC. If converting your local time crosses
midnight, the day-of-week field shifts too — weekdays at 5pm in UTC-07:00 is
0 0 * * 2-6, not 0 0 * * 1-5.
The Day-Field Trap
When both the day-of-month and day-of-week fields are restricted, cron matches either,
not both. 0 0 13 * 5 runs on every 13th *and* every Friday — not Friday the 13th. Leave
one of them as * unless you genuinely want the union.
Other Common Schedules
| Expression | Runs |
|---|---|
* * * * * | Every minute |
*/5 * * * * | Every 5 minutes |
*/15 * * * * | Every 15 minutes |
0 * * * * | Every hour, on the hour |
0 0 * * * | Every day at midnight |
0 9 * * * | Every day at 9am |
0 9 * * 1-5 | Weekdays at 9am |
0 9 * * 1 | Every Monday at 9am |
Making the Job Safe
- Assume double firing. DST transitions, restarts and retries all cause it. Make the job
- Assume overlap. Cron starts the next run whether or not the last one finished. Take a
- Avoid
:00. Every hourly job on the internet fires at the top of the hour; a random
- Log the start and end. A cron job that silently stops running is invisible until