0 0 1 1 * Every year on January 1 at 00:00 yearly The cron expression 0 0 1 1 * runs a job once per year, at 00:00 on day 1 of month 1. Both the day-of-month field (1) and the month field (1) are pinned, while minute, hour and day-of-week stay at their fixed or wildcard values, producing an annual trigger. Yearly cron slots are rarer than daily ones but show up in certificate renewal reminders, annual archive compaction, license refresh jobs and January 1 partition creation. Because the event happens only once a year, the cost of a silent failure is high: a missed run is not noticed for twelve months. Treat annual jobs like production releases — add alerting on completion, not just on failure, and dry-run the command ahead of the date. Remember that day-of-week is a wildcard here; if you restrict both day fields, standard cron switches to OR semantics and the job may fire far more often than once a year. Below you will find the field breakdown, the next five computed run times (useful to sanity-check the date), and Quartz, Spring, Kubernetes and EventBridge equivalents.
Field-by-field breakdown
| Field | Value | Meaning |
|---|---|---|
| minute | 0 | only at minute 0 |
| hour | 0 | only at hour 0 |
| day-of-month | 1 | only at day-of-month 1 |
| month | 1 | only at month 1 |
| day-of-week | * | every day-of-week (wildcard, no restriction) |
Next 5 run times (UTC)
Computed at build time; cross-check against your server's time zone before deploying.
2027-01-01 00:00 UTC2028-01-01 00:00 UTC2029-01-01 00:00 UTC2030-01-01 00:00 UTC2031-01-01 00:00 UTC
When to use this schedule
- Creating next year's database partitions or directory structures before January 1 traffic arrives.
- Annual archive compaction and cold-storage migration of the previous year's data.
- License, contract and certificate renewal reminders that must not be missed silently.
- Yearly cleanup of legacy formats and one-off migration checkpoints tied to the calendar year.
Equivalent syntax
The same schedule expressed for popular schedulers and platforms:
0 0 1 1 * /usr/local/bin/job.sh # Every year on January 1 at 00:00 0 0 0 1 1 ? # Quartz (Java): 6-7 fields, leading seconds, '?' when day-of-week is set 0 0 0 1 1 * # Spring @Scheduled: 6 fields, leading seconds, day names accepted 0 0 1 1 * # Kubernetes CronJob schedule field: standard 5-field syntax cron(0 0 1 1 ? *) # AWS EventBridge: 6 fields incl. year, '?' required in one day field Caveats & gotchas
- Cron evaluates schedules in the server's local time zone; set CRON_TZ (cronie) or TZ (containers) explicitly on shared or distributed infrastructure.
- When both day-of-month and day-of-week are restricted, standard cron ORs them; keep one of the two as '*' unless you want that behavior.
Verify your schedule
After installing the schedule, verify it end to end instead of trusting the crontab line. Run 'crontab -l' to confirm the entry survived editing, then execute the command manually with the same user and environment to catch PATH and permission problems — cron runs with a minimal environment, so absolute paths and explicit SHELL/PATH declarations prevent the classic 'works in my terminal, fails in cron' bug. Watch the daemon log ('grep CRON /var/log/syslog' on Debian/Ubuntu, 'journalctl -u cron' or '-u crond' on systemd hosts) to confirm the trigger fires at the expected times, and redirect the job's own output to a log file with 2>&1 so failures are not swallowed by mail. Finally, cross-check the next run times listed on this page against your server's time zone before declaring the schedule correct.
Frequently asked questions
What is the cron expression for once a year?
0 0 1 1 * — pin both day-of-month and month, keep day-of-week as '*'. Restricting both day fields would switch cron to OR semantics and fire far more often.
How can I verify an annual schedule without waiting a year?
Use the computed next-run list on this page or a parser tool to project the next five occurrences; croniter and most online cron parsers do the same calculation.
Should annual jobs run at midnight?
Midnight is conventional but risky: it collides with nightly backups and DST transitions. A quiet mid-morning slot with completion alerting is often safer for once-a-year work.
Try the Cron Parser
Decode cron schedules and preview the next run times.