{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.devtools.tools"},{"@type":"ListItem","position":2,"name":"Cron Examples","item":"https://www.devtools.tools/cron"},{"@type":"ListItem","position":3,"name":"Every year (Jan 1, midnight)","item":"https://www.devtools.tools/cron/every-year"}]}All cron examples
Cron expression: every year (jan 1, midnight)
Runs once a year, at 00:00 on January 1.
0 0 1 1 *Field by field
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 0 | At hour 00:00 |
| Day of month | 1 | At day of the month 1 |
| Month | 1 | At month January |
| Day of week | * | Every day of the week |
Typical uses
- Yearly archiving
- Annual counters reset
Good to know
- Many cron implementations accept the shorthand
@yearly/@annuallyfor this schedule.
Related schedules
Need a different schedule? Build and validate any cron expression visually with the free Cron Expression Builder.