Skip to content

Argo Events Calendar Quick Fix - Scheduled Event Source

DodaTech Updated 2026-06-26 1 min read

Argo Events calendar event source generates events on a schedule using cron expressions. Wrong cron syntax causes events at incorrect times or duplicate events. This guide covers the fix.

Quick Fix

Wrong

calendar:
  example:
    schedule: "*/5 * * * *"

The issue: no timezone specified (uses UTC), no exclusionDates for holidays, and no persistence for recovery after restarts. Events may run on holidays and drift across DST.

calendar:
  example:
    schedule: "*/5 * * * *"
    timezone: "America/New_York"
    exclusionDates:
    - "2026-12-25"
    - "2026-01-01"
    persistence:
      name: calendar-state
      configMapName: calendar-persistence
# Expected output after applying the fix
# Calendar event source runs every 5 minutes ET
# Excluded dates: 2026-12-25, 2026-01-01 (skipped)
# Persistence stores last run time in ConfigMap
# Recoverable after restarts

Prevention

  • Always set timezone for local time scheduling
  • Use exclusionDates to skip holidays and maintenance Windows
  • Configure persistence to prevent missed events after restarts
  • Use cron expression format matching the intended schedule
  • Test exclusion dates in staging before production

DodaTech Tools

Doda Browser's calendar event tester simulates event generation for the next month. DodaZIP archives calendar configurations for scheduling documentation. Durga Antivirus Pro monitors schedule anomalies.

FAQ

Does the calendar event source use 5-field cron syntax?

Yes, standard 5-field cron syntax: minute hour day month weekday. Use 0 */2 * * * for every 2 hours at the start of the hour. ||| How does persistence prevent missed events? Persistence saves the last scheduled run time to a ConfigMap. After a restart, the event source resumes from the last stored time, not from scratch. ||| Can I use multiple calendar schedules in one event source? Yes, define multiple calendar configurations under the calendar field, each with different schedules and exclusion dates.

Built by the developers of DodaTech

Doda Browser, DodaZIP & Durga Antivirus Pro