Cron Expression: Cron Every Year

Learn how to create a cron expression for 'cron every year'. Runs annually on January 1st at midnight with our free cron generator tool.

Cron Expression

0 0 1 1 *

Want to tweak this schedule?

Edit this expression in our interactive generator and see it broken down in real time.

Open in Cron Generator

Expression Breakdown

0
Minute
(0-59)
0
Hour
(0-23)
1
Day
(1-31)
1
Month
(1-12)
*
Weekday
(0-6)
Field Value Meaning
Minute 0 At minute 0
Hour 0 At hour 0
Day of Month 1 Day 1
Month 1 Month 1
Day of Week * Any day of the week

This cron expression represents: cron every year

Cron Expression

0 0 1 1 *

What This Expression Does

Runs once per year: at midnight on January 1st. Reading the fields left to right — minute 0, hour 0, day of month 1, month 1 (January), any weekday.

Use Cases

Annual jobs are rare but real:

How to Use

  1. Copy the cron expression above
  2. Open your crontab with crontab -e
  3. Add a new line with: 0 0 1 1 * /path/to/your/script.sh
  4. Save and exit

A Word of Caution

A job that fires once a year is easy to forget and hard to notice when it fails. Make sure it logs somewhere durable and alerts on failure — you won’t get another attempt for twelve months. Also confirm the server will actually be running on New Year’s Day; for laptops or spot instances, anacron or a systemd timer with Persistent=true will catch up on missed runs.

Alternative Formats