Preview February 29 cron dates across the year 2100
Check a leap-day cron expression and see why the first run after February 29, 2096 falls in 2104.
Try these inputsWorked calculation
- The minute and hour fields both select zero. The expression runs at midnight on February 29 when that date exists.
- An exact match at the starting minute is skipped. In the Gregorian calendar, a century year must divide by 400 to be a leap year.
- 2100 is divisible by 100 but not by 400. The next match lands on February 29, 2104 at midnight UTC.
Results
- Next run (local)
- 2104-02-29 00:00
- Next run (UTC)
- 2104-02-29 00:00 UTC
- Day-field rule
- AND
Timeline of the next 20 cron runs
- Next run
- Subsequent run
- Expression
- 0 0 29 FEB *
- Schedule
- At 00:00, subject to the calendar fields below.
- Reference offset
- UTC
| Field | Expression | Matches |
|---|---|---|
| Minute | 0 | 0 |
| Hour | 0 | 0 |
| Day of month | 29 | 29 |
| Month | FEB | FEB |
| Day of week | * | Every allowed value |
| Run | Local time | UTC time |
|---|---|---|
| 1 | 2104-02-29 00:00 | 2104-02-29 00:00 UTC |
| 2 | 2108-02-29 00:00 | 2108-02-29 00:00 UTC |
| 3 | 2112-02-29 00:00 | 2112-02-29 00:00 UTC |
| 4 | 2116-02-29 00:00 | 2116-02-29 00:00 UTC |
| 5 | 2120-02-29 00:00 | 2120-02-29 00:00 UTC |
| 6 | 2124-02-29 00:00 | 2124-02-29 00:00 UTC |
| 7 | 2128-02-29 00:00 | 2128-02-29 00:00 UTC |
| 8 | 2132-02-29 00:00 | 2132-02-29 00:00 UTC |
| 9 | 2136-02-29 00:00 | 2136-02-29 00:00 UTC |
| 10 | 2140-02-29 00:00 | 2140-02-29 00:00 UTC |
| 11 | 2144-02-29 00:00 | 2144-02-29 00:00 UTC |
| 12 | 2148-02-29 00:00 | 2148-02-29 00:00 UTC |
| 13 | 2152-02-29 00:00 | 2152-02-29 00:00 UTC |
| 14 | 2156-02-29 00:00 | 2156-02-29 00:00 UTC |
| 15 | 2160-02-29 00:00 | 2160-02-29 00:00 UTC |
| 16 | 2164-02-29 00:00 | 2164-02-29 00:00 UTC |
| 17 | 2168-02-29 00:00 | 2168-02-29 00:00 UTC |
| 18 | 2172-02-29 00:00 | 2172-02-29 00:00 UTC |
| 19 | 2176-02-29 00:00 | 2176-02-29 00:00 UTC |
| 20 | 2180-02-29 00:00 | 2180-02-29 00:00 UTC |
Questions
Will a February 29 cron automatically run on February 28 in a common year?
It runs only when February 29 exists. Define an explicit fallback if the job must run once every year.
Does the same exception remove February 29 in 2400?
2400 divides by 400, so it is a Gregorian leap year and its February 29 matches.