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

FieldValueMeaning
Minute0At minute 0
Hour0At hour 00:00
Day of month1At day of the month 1
Month1At 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 / @annually for this schedule.

Need a different schedule? Build and validate any cron expression visually with the free Cron Expression Builder.