Cron Jobs Skipped During Daylight Saving Time Spring Forward (02:00–02:59 Gap)
Why 02:30 local cron schedules vanish on Kubernetes CronJob and AWS EventBridge while Vixie Cron runs catch-up at 03:00, and how to prevent missed runs.
Incident Symptom & Protocol Root Cause
Production Failure Symptom
Nightly batch jobs, database snapshots, or settlement exports scheduled between 02:00 and 02:59 in America/New_York (or 01:00–01:59 in Europe/London) fail to trigger on the March spring-forward Sunday, leaving a 48-hour gap between runs with zero error logs.
Scheduler Parser & Clock Mechanics
When clocks jump forward by one hour (for example 01:59:59 EST directly to 03:00:00 EDT), local wall-clock timestamps inside the 02:00–02:59 window never exist. Schedulers without special DST delta logic compute the next valid wall-clock match in the following 24-hour cycle, silently skipping that calendar day.
Broken vs Verified Configuration
apiVersion: batch/v1
kind: CronJob
metadata:
name: nightly-ledger-reconcile
spec:
# Skips completely on March DST Sunday in America/New_York!
schedule: "30 2 * * *"
timeZone: "America/New_York"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: reconcile
image: registry.internal/ledger:2.4.1apiVersion: batch/v1
kind: CronJob
metadata:
name: nightly-ledger-reconcile
spec:
# Option A: Move local execution outside 01:00-03:00 DST hazard window
schedule: "5 4 * * *"
timeZone: "America/New_York"
# Option B (strict 24.0h cadence): Remove timeZone or set "Etc/UTC"
# schedule: "30 7 * * *"
# timeZone: "Etc/UTC"
startingDeadlineSeconds: 600
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: reconcile
image: registry.internal/ledger:2.4.1Operational Deep Dive
Different production schedulers handle nonexistent spring-forward wall times with incompatible semantics. Traditional Linux Vixie Cron (used in Debian, Ubuntu, and RHEL cronie) tracks the UTC offset change between ticks: for gaps of three hours or less, wildcard jobs stay unaffected while hour-specific jobs (such as 30 2 * * *) are caught up immediately when the clock hits 03:00 local time.
Modern cloud and container schedulers purposefully abandoned Vixie's catch-up heuristic. Kubernetes kube-controller-manager evaluates .spec.schedule through Go's robfig/cron library against local time.Location rules; when 02:30 does not exist on the spring transition date, the next valid timestamp returned by the parser is 02:30 on Monday. AWS EventBridge Scheduler with a named ScheduleExpressionTimezone also skips nonexistent spring-forward wall times rather than firing late at 03:00.
Choosing the right remediation depends on whether your workload is anchored to human business cutoffs or fixed physical intervals. Financial EOD reports tied to local midnight should stay in an IANA timezone such as America/New_York or Europe/Berlin, but shift execution to 00:15 or 04:05 so every calendar date contains the target timestamp. Metrics rollups, billing metering, and log compaction that expect exact 24-hour windows should always run in Etc/UTC.
Spring-Forward Nonexistent Hour Behavior Across Schedulers
| Engine / Case | Runtime Behavior | Production Remediation |
|---|---|---|
| Linux Vixie Cron / Cronie | Detects <=3h forward clock jump and executes missed hour-pinned jobs immediately at 03:00 local time. | Safe from total skip, but shifts execution 30–59 minutes later on transition day; move to 04:05 if 03:00 collides with downstream jobs. |
| Kubernetes CronJob (.spec.timeZone) | Evaluates robfig/cron next valid wall-clock match; completely skips 02:xx on spring-forward Sunday. | Schedule before 01:00 or after 03:05 local time, or pin timeZone to Etc/UTC. |
| AWS EventBridge Scheduler (IANA TZ) | Skips nonexistent local timestamps during spring-forward transition; next invocation is 24 hours later. | Use 00:30 or 03:30 local time in ScheduleExpressionTimezone, or run EventBridge Rules in UTC. |
| GitHub Actions (on.schedule + timezone) | Rolls nonexistent spring-forward timestamps forward or experiences queue jitter around transition hour. | Avoid 01:00–03:00 local windows and avoid :00/:30 top-of-hour queue spikes (use e.g. 17 4 * * *). |
| systemd.timer (OnCalendar) | Advances to next valid calendar elapse; skips nonexistent local hour unless Persistent=true catches missed boot window. | Specify UTC suffix in OnCalendar (e.g. *-*-* 07:30:00 UTC) or schedule at 04:00 local time. |
Edge Cases & Engineering FAQs
Why does Europe/London skip 01:30 instead of 02:30 during spring DST?
The United Kingdom and European Union transition at 01:00 UTC simultaneously: Europe/London jumps from 01:00 GMT to 02:00 BST, whereas Central European Time (Europe/Berlin, Europe/Paris) jumps from 02:00 CET to 03:00 CEST, and Eastern European Time jumps from 03:00 EET to 04:00 EEST. Scheduling at 04:15 local time avoids all three European transition windows.
Does setting startingDeadlineSeconds in Kubernetes fix a spring-forward skipped CronJob?
No. startingDeadlineSeconds only governs how long the CronJob controller can start a job after a valid scheduled timestamp was missed due to controller downtime. Because 02:30 never exists in the local IANA calendar on spring-forward Sunday, the parser never emits a scheduled timestamp for that day.
Are wildcard minute jobs like */15 * * * * skipped during spring forward?
No. Wildcard expressions without a pinned missing hour simply advance from 01:45 EST directly to 03:00 EDT. Exactly one real-world hour elapses (four 15-minute ticks occur between 01:00 EST and 03:00 EDT), so interval continuity is preserved.
Runtime Dead-Man's-Switch Verification
Dead-man's-switch heartbeat checks that page on-call when a scheduled job skips a DST gap, stalls on a lock, or exits non-zero.