⏰

Cron Every Year

Cron for cron every year

0
minute
0-59
0
hour
0-23
1
day of month
1-31
1
month
1-12 or jan-dec
*
day of week
0-6 or sun-sat
In plain English

At 00:00 on day 1 of the month in January

Next runs (UTC)

  • Fri, Jan 1, 2027, 12:00 AM
  • Sat, Jan 1, 2028, 12:00 AM
  • Mon, Jan 1, 2029, 12:00 AM
  • Tue, Jan 1, 2030, 12:00 AM

Shown in your local time zone. Most schedulers — Vercel Cron, GitHub Actions and Kubernetes among them — evaluate cron in UTC, so convert before you ship.

Common schedules

0 0 1 1 *

At 00:00 on day 1 of the month in January

Field by Field

FieldValueMatches
Minute00
Hour00
Day of month11
Month11
Day of week*every day

Once a Year, at Midnight on 1 January

Both day and month are pinned; the day-of-week field stays *. Many schedulers accept the alias @yearly (or @annually) for exactly this expression.

Annual Jobs Fail More Than Any Other Schedule

A year is long enough for everything the job depends on to change: credentials rotate, hostnames move, APIs deprecate, the file format changes, the person who wrote it leaves. By the time it runs, it is running in an environment nobody designed it for.

The mitigation is to run it on a schedule you can actually observe:

  • Run monthly against a staging environment with the same code path.
  • Make the job's date range a parameter, so you can execute last year's run on demand.
  • Alert on the *absence* of a success record, not on failure — the most likely outcome is
that it never starts.

New Year's Midnight Is Not a Quiet Time

1 January at 00:00 is a load spike for anything consumer-facing, and it is the worst possible time to page an on-call engineer. 0 4 2 1 * — 4am on the 2nd — does the same job in a much better hour.

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

ExpressionRuns
* * * * *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-5Weekdays at 9am
0 9 * * 1Every Monday at 9am

Making the Job Safe

  • Assume double firing. DST transitions, restarts and retries all cause it. Make the job
idempotent rather than assuming exactly-once.
  • Assume overlap. Cron starts the next run whether or not the last one finished. Take a
lock.
  • Avoid :00. Every hourly job on the internet fires at the top of the hour; a random
minute spreads load on shared APIs.
  • Log the start and end. A cron job that silently stops running is invisible until
someone notices the missing output.

Frequently Asked Questions

What does `0 0 1 1 *` mean?

At 00:00 on day 1 of the month in January. Reading the fields in order: minute, hour, day of month, month, day of week.

What time zone will this run in?

System local time under standard crontab, but UTC on Vercel, GitHub Actions, Kubernetes and AWS EventBridge. Convert before deploying — and remember that a conversion crossing midnight also shifts the day fields.

How do I test a cron expression without waiting?

Preview the next run times, as the tool above does, and run the job manually first. Never validate a schedule by waiting for it to fire in production — you learn about the mistake a day late.

Related Tools

Explore other tools you might find useful:

More Cron Expression Generator & Descriptor tools

You might also need