Argo Cron Workflow Schedule Quick Fix - Cron Syntax Errors
DodaTech
Updated 2026-06-26
1 min read
Argo CronWorkflow runs workflows on a recurring schedule using cron expressions. Incorrect cron syntax causes workflows to run at wrong times or not at all. This guide covers the fix.
Quick Fix
Wrong
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: nightly-backup
spec:
schedule: "* 0 * * *"
The issue: the cron expression * 0 * * * means "every minute when hour is 0" — running 60 times at midnight. Also missing timezone and startingDeadlineSeconds settings.
Right
spec:
schedule: "0 2 * * *"
timezone: "America/New_York"
startingDeadlineSeconds: 300
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
# Expected output after applying the fix
# CronWorkflow runs daily at 2:00 AM Eastern Time
# Previous run must complete before next starts (Forbid)
# Failed jobs kept: 1, Successful jobs kept: 3
# Status: Running on schedule
Prevention
- Validate cron expressions with
crontab.guru - Always set
timezonefor timezone-aware scheduling - Set
startingDeadlineSecondsto prevent stale job starts - Use
concurrencyPolicy: Forbidfor exclusive jobs - Limit job history with
successfulJobsHistoryLimitandfailedJobsHistoryLimit
DodaTech Tools
Doda Browser's cron expression tester validates schedules before deployment. DodaZIP archives cron schedule changes for audit trails. Durga Antivirus Pro monitors cron workflow execution patterns.
FAQ
← Previous
Argo Cron Workflow Concurrency Quick Fix - Concurrency Policy
Next →
Argo Cron Workflow Timezone Quick Fix - Timezone Handling
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro