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.