Multi-Engine Cron & DST Verifier

Trap Presets:
Valid ScheduleSource: posixTZ: America/New_York

At 02:30.

Minute
30
Hour
2
Day of Month
Every day (*)
Month
Every month (*)
Day of Week
Every weekday (*)
Year
Every year (*)
Schedule hits America/New_York Spring-Forward DST gap (2027-03-14)

HITS SPRING GAP: 1 scheduled occurrence(s) (2027-03-14 02:30) fall inside the nonexistent local window on 2027-03-14. Kubernetes CronJob and AWS EventBridge Scheduler SKIP this execution completely; Linux Vixie Cron fires a catch-up run immediately after the jump.

5-Engine Daylight Saving Time (DST) Simulation

America/New_York (-05:00)
Spring Forward (2027-03-14)Hits Skipped Gap

02:00–02:59 local nonexistent (jumps -05:00 -> -04:00 at 03:00)

HITS SPRING GAP: 1 scheduled occurrence(s) (2027-03-14 02:30) fall inside the nonexistent local window on 2027-03-14.

Fall Back (2027-11-07)Outside Overlap

01:00–01:59 local repeats twice (Pass 1 -04:00, Pass 2 -05:00)

Outside overlap on 2027-11-07: schedule does not fire inside the 01:00–01:59 repeated window (daily UTC offset shifts -04:00 -> -05:00).

Cron EngineStatusSpring Forward GapFall Back OverlapRemediation
Linux Vixie CronSafeCatch-up at 03:00 (-04:00): for <3h DST forward jumps, Vixie Cron executes missed non-wildcard jobs (02:30) immediately when the clock hits 03:00.Not in Fall overlap on 2027-11-07 (non-wildcard runs once on 1st pass; '*' wildcard runs twice).Wrap long or wildcard jobs in 'flock -n /tmp/job.lock' and attach dead-man's-switch heartbeat monitoring.
Kubernetes CronJob (robfig/cron)High RiskSKIPPED / MISSED completely on 2027-03-14: Go robfig/cron finds zero valid instants for 02:30 and drops the run without catch-up.Not in Fall overlap on 2027-11-07 (rule if inside overlap: RUNS TWICE on both passes!).Set 'concurrencyPolicy: Forbid', enforce idempotency keys in job logic, and avoid 01:00–02:59 local windows for billing/payout jobs.
GitHub Actions (schedule + timezone)CautionRolled forward to next valid time (03:00 -04:00) on 2027-03-14, plus typical 5–20m runner queue delay.Not in Fall overlap on 2027-11-07 (rule if inside overlap: deduplicated single run + queue delay).Never rely on sub-15-minute wall-clock precision in GitHub Actions; schedule critical jobs outside 01:00–03:00 or in UTC.
AWS EventBridge SchedulerHigh RiskSKIPPED on 2027-03-14: EventBridge Scheduler does NOT fire nonexistent 02:30 local wall-clock occurrences.Not in Fall overlap on 2027-11-07 (rule if inside overlap: runs once on second pass -05:00).Use EventBridge Scheduler (IANA TZ) rather than UTC-only EventBridge Rules, and move daily jobs to 04:00+ local if Spring skips are unacceptable.
systemd.timerHigh RiskSKIPPED on 2027-03-14: systemd OnCalendar skips nonexistent 02:30 local wall-clock occurrences on live hosts (note: Persistent=true only recovers host downtime/reboots, not DST gaps).Not in Fall overlap on 2027-11-07 (rule if inside overlap: coalesced single run on first pass).Pair OnCalendar= with Persistent=true and AccuracySec=1s, and avoid 02:00–02:59 local schedules if Spring skips are unacceptable.

Directional 5-Dialect Translations & Host Guards

POSIX / Linux Vixie Cron

Exact Bijective

Expression:30 2 * * *

Configuration Snippet
# Crontab entry (verify daemon supports CRON_TZ, or configure host localtime to America/New_York):
CRON_TZ=America/New_York
30 2 * * * your_cmd
  • Standard BSD/BusyBox cron ignores CRON_TZ and uses system /etc/localtime; Red Hat/Ubuntu Vixie cron honors CRON_TZ=America/New_York for wall-clock matching.

GitHub Actions (on.schedule)

Exact Bijective

Expression:30 2 * * *

Configuration Snippet
on:
  schedule:
    - cron: '30 2 * * *'
      timezone: 'America/New_York'
  • GitHub Actions natively supports 'timezone: "America/New_York"' on 'on.schedule' entries.
  • Public repositories automatically disable scheduled workflows after 60 days of repository inactivity.

Kubernetes CronJob (batch/v1)

Exact Bijective

Expression:30 2 * * *

Configuration Snippet
apiVersion: batch/v1
kind: CronJob
metadata:
  name: opslint-scheduled-job
spec:
  schedule: "30 2 * * *"
  timeZone: "America/New_York"
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 300
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: job
              image: ubuntu:24.04
              command: ["/bin/sh", "-c"]
              args:
                - |-
                  your_cmd
  • Requires Kubernetes v1.27+ for GA '.spec.timeZone: "America/New_York"' (never place TZ= or CRON_TZ= inside .spec.schedule — kube-apiserver rejects it).
  • Set 'concurrencyPolicy: Forbid' to prevent overlapping pods during Fall-Back DST double-runs or slow executions.

AWS EventBridge (Scheduler & Rules)

Exact Bijective

Expression:cron(30 2 * * ? *)

Configuration Snippet
{
  "Name": "opslint-verified-schedule",
  "ScheduleExpression": "cron(30 2 * * ? *)",
  "ScheduleExpressionTimezone": "America/New_York",
  "FlexibleTimeWindow": {
    "Mode": "OFF"
  }
}
EventBridge Legacy Rule (UTC constraint)
# WARNING: Legacy EventBridge Rules (events:PutRule) ONLY evaluate in UTC and NEVER adjust for 'America/New_York' DST!
# Always prefer EventBridge Scheduler (scheduler:CreateSchedule) above with ScheduleExpressionTimezone="America/New_York".
  • EventBridge Scheduler ('scheduler:CreateSchedule') natively supports ScheduleExpressionTimezone='America/New_York'.
  • Legacy EventBridge Rules ('events:PutRule') are strictly UTC-only — hardcoding shifted UTC hours breaks twice a year across DST transitions.

systemd.timer (OnCalendar)

Exact Bijective

Expression:OnCalendar=*-*-* 02:30:00 America/New_York

Configuration Snippet
[Timer]
OnCalendar=*-*-* 02:30:00 America/New_York
Persistent=true
AccuracySec=1s
  • Verified systemd.time(7) syntax ('..' for ranges, 'min/step' for intervals, '~01' for month-end).

Next 5 Scheduled Executions

America/New_York → UTC
#Local Wall-Clock TimeUTC InstantDST / Engine Note
1Sat 2026-11-28 02:30:00 (-05:00)2026-11-28T07:30:00ZStandard execution
2Sun 2026-11-29 02:30:00 (-05:00)2026-11-29T07:30:00ZStandard execution
3Mon 2026-11-30 02:30:00 (-05:00)2026-11-30T07:30:00ZStandard execution
4Tue 2026-12-01 02:30:00 (-05:00)2026-12-01T07:30:00ZStandard execution
5Wed 2026-12-02 02:30:00 (-05:00)2026-12-02T07:30:00ZStandard execution

Verify Schedules Directly from Claude Code, Cursor & CI Agents

curl -sS -X POST https://opslint.dev/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lint_cron_schedule","arguments":{"expression":"30 2 * * *","timezone":"America/New_York"}}}'

Cross-Dialect Specification Reference

Scheduler DialectField GrammarDOM + DOW LogicWeekday NumberingTimezone Mechanism
POSIX.1-2017 / Vixie Cron5 fields: min hr dom mon dowOR (Union) when both DOM & DOW lack leading '*'0–7 (0 and 7 = Sunday)Host /etc/localtime (optional CRON_TZ in Vixie)
GitHub Actions on.schedule5 fields + YAML timezone keyOR (Union) — POSIX semantics0–6 or SUN–SAT (7 accepted by parser)timezone: 'America/New_York' (5m min interval)
Kubernetes CronJob (batch/v1)5 fields (robfig/cron v3)OR (Union) when neither DOM nor DOW starts with '*'0–6 or SUN–SAT.spec.timeZone (GA in K8s v1.27+; forbids CRON_TZ=)
AWS EventBridge Scheduler6 fields: cron(min hr dom mon dow yr)Forbids both — requires '?' in DOM or DOW1–7 (1 = SUN, 2 = MON .. 7 = SAT) or SUN–SATScheduleExpressionTimezone (Legacy Rules are UTC-only)
systemd.timer OnCalendarDOW YYYY-MM-DD HH:MM:SS [TZ]AND (Intersection) between DOW & DOMMon..Sun named tokensTrailing IANA TZ token or local system clock

Crontab Percent (%) Escaping Rule

Per crontab(5), any unescaped % character inside a POSIX command field is converted into a literal newline (\n), with all text after the first % piped to standard input. Always escape date +\%u and date +\%d inside /etc/crontab, while keeping plain date +%u inside YAML run: steps and container args.

Heartbeat 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.

Heartbeat & Cron MonitoringMonitor scheduled jobs with Better Stack →

Production Cron & DST Failure Guides (22)

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.
Vixie Cron 4.1 cron(8) DST Special Handling
Prevent Duplicate Cron Execution During Daylight Saving Time Fall Back (01:00–01:59 Overlap)Diagnose and prevent double-firing cron jobs during the November DST fall-back hour across Kubernetes CronJob, Vixie Cron, and AWS EventBridge.
Kubernetes CronJob Docs: Time zones & robfig/cron Ambiguous Hours
The POSIX Cron Day-of-Month + Day-of-Week OR Trap (0 9 13 * 5 Runs Every Friday)Why specifying both Day-of-Month and Day-of-Week in POSIX crontab evaluates as boolean OR (union) instead of AND, and how to guard intersection schedules.
POSIX.1-2017 (IEEE Std 1003.1) crontab Utility Specification
GitHub Actions Schedule Timezone Syntax, 5-Minute Floor, and Queue Delay FixesConfigure native IANA timezones on GitHub Actions on.schedule triggers, avoid silent 5-minute interval clamping, and eliminate top-of-hour queue delays.
GitHub Actions Workflow Syntax: on.schedule & timezone
GitHub Actions Scheduled Workflows Auto-Disabled After 60 Days of Repo InactivityWhy public GitHub repositories automatically suspend on.schedule cron workflows after 60 days without commits, and how to re-enable or prevent suspension.
GitHub Docs: Disabling and Enabling a Workflow (60-Day Inactivity Policy)
Kubernetes CronJob .spec.timeZone, CRON_TZ Rejection, and ConcurrencyPolicy GuideConfigure IANA timezones safely in Kubernetes v1.27+ CronJobs, fix rejected CRON_TZ/TZ prefixes in .spec.schedule, and choose between Forbid and Replace.
Kubernetes v1.27+ batch/v1 CronJob .spec.timeZone GA Specification
Fix Kubernetes CronJob TooManyMissedTimes (100 Missed Schedules Limit)Understand how Kubernetes CronJob calculates missed runs from lastScheduleTime, why 100 missed ticks halt scheduling, and how to tune startingDeadlineSeconds.
Kubernetes CronJob Concepts: Starting Deadline & Missed Schedules
Fix AWS EventBridge Cron ValidationException: The ? vs * Wildcard RuleResolve AWS EventBridge Parameter ScheduleExpression is not valid errors caused by 5-field POSIX syntax or using * in both Day-of-Month and Day-of-Week.
AWS EventBridge User Guide: Cron Expressions (6-Field Format)
AWS EventBridge Rules (UTC Only) vs EventBridge Scheduler (IANA Timezones)Why legacy CloudWatch / EventBridge Rules ignore local timezones and DST, and how to migrate to AWS EventBridge Scheduler with ScheduleExpressionTimezone.
AWS EventBridge PutRule API (UTC-Only ScheduleExpression)
Schedule the First Monday or Third Tuesday of Every Month in Portable CronHow to run jobs on the Nth weekday of the month across POSIX crontab, GitHub Actions, Kubernetes CronJob, AWS EventBridge (#), and systemd timers.
POSIX.1-2017 crontab (Absence of # Operator & DOM/DOW Union)
Run a Cron Job on the Last Day of Every Month (28, 29, 30, and 31 Leap-Year Safe)Portable month-end cron patterns across POSIX Linux/BSD, Kubernetes CronJob, GitHub Actions, AWS EventBridge (L), and systemd (~01) including February 29.
POSIX.1-2017 crontab (No Native 'L' Modifier)
Nearest Weekday Payroll Cron Schedules: 15W and LW vs Portable POSIX GuardsTranslate AWS EventBridge 15W and LW nearest-business-day payroll modifiers to POSIX crontab, Kubernetes CronJob, and GitHub Actions without month-crossing bugs.
AWS EventBridge / Quartz 'W' Nearest Weekday & 'LW' Specification
systemd OnCalendar vs POSIX Cron: AND Logic, Reverse Offsets (~), and Persistent=trueAvoid critical translation bugs between systemd.timer OnCalendar expressions and 5-field POSIX cron, including DOM+DOW intersection, seconds, and missed boot catch-up.
systemd.time(7) Calendar Events Specification
Why */14 in Cron Does NOT Run Every Two Weeks (True Biweekly 14-Day Schedule)Understand why 0 9 */14 * * resets at every month boundary (running on the 29th AND the 1st), and implement true 14-day biweekly cadence with epoch arithmetic.
POSIX.1-2017 crontab Step Values (Field-Local Modulo Expansion)
Run a Cron Job Every 90 Minutes or Every 45 Minutes (Cross-Hour Split Pattern)Why */90 and */45 fail to produce uniform cross-hour intervals in cron, and how to split 45-minute and 90-minute schedules into exact dual cron expressions.
POSIX.1-2017 crontab Minute (0-59) & Hour (0-23) Field Bounds
Schedule Cron Jobs for Market Hours (09:30–16:00 Mon–Fri in America/New_York)Why a single cron expression cannot start at 09:30 and end at 16:00 without skipping :00–:29 in later hours, and how to split half-hour trading windows cleanly.
POSIX.1-2017 crontab Independent Field Cartesian Product
Fix Crontab Percent Sign (%) Syntax Errors and Missing EOF Newline Silent SkipsWhy date +%Y-%m-%d crashes inside Linux crontab with unexpected EOF while succeeding in bash, and why missing trailing newlines drop the last cron job.
POSIX.1-2017 crontab Command Field Percent-Sign Semantics
Fix Cron Jobs That Work in Terminal SSH But Fail Silently in Crontab (PATH, SHELL, Env)Diagnose why cron runs with minimal PATH=/usr/bin:/bin, /bin/sh (dash) instead of bash, missing SSH/cloud credentials, and C locale.
POSIX.1-2017 crontab Default Shell Environment (SHELL, PATH, HOME)
Prevent Overlapping Cron Jobs with Linux flock -n Non-Blocking LocksStop runaway duplicate cron processes and database lock pileups using kernel-managed util-linux flock -n file descriptors instead of brittle PID files.
Linux flock(2) Kernel Advisory File Locking Syscall
Quarterly Cron Schedules: Calendar Quarter Starts vs Fiscal Quarter-End ClosesAvoid off-by-one month bugs in */3 quarterly cron expressions, align custom fiscal quarters (Feb/May/Aug/Nov), and handle uneven 30/31-day quarter-end closes.
POSIX.1-2017 crontab Month Field (1-12 Step Expansion)
PostgreSQL pg_cron Troubleshooting: cron.timezone, nodename Socket Errors, and BloatFix pg_cron connection refused errors on RDS/Supabase/Cloud SQL, configure cron.timezone safely, prevent duplicate cron.schedule entries, and purge job_run_details.
pg_cron Extension Documentation (citusdata/pg_cron)
Cloudflare Workers Cron Triggers: UTC Syntax, L/W/# Modifiers, and Multi-Cron RoutingConfigure wrangler.jsonc triggers.crons in UTC, dispatch multiple schedules cleanly via controller.cron in scheduled(), and protect async tasks with ctx.waitUntil.
Cloudflare Workers Docs: Cron Triggers & ScheduledController API