Scheduled Workflows
When to Use This Skill
CronWorkflows run automation on a schedule: hourly builds, nightly backups, weekly reports. They combine the reliability of Kubernetes cron jobs with the power of Argo Workflows, enabling complex scheduled automation that survives cluster restarts and handles failures gracefully.
Implementation
- Define the schedule using cron syntax
- Set concurrency policy to handle overlaps appropriately
- Configure history limits to prevent resource accumulation
- Add monitoring for schedule misses and failures
Techniques
Patterns
| Pattern | Description | | --------- | ------------- | | Basic CronWorkflow | Simple scheduled execution | | Concurrency Policies | Handling overlapping runs | | Orchestration | Scheduled pipelines that spawn child workflows | | GitHub Integration | Triggering GitHub Actions from schedules |
Anti-Patterns to Avoid
| Pattern | Description | | --------- | ------------- | | Basic CronWorkflow | Simple scheduled execution | | Concurrency Policies | Handling overlapping runs | | Orchestration | Scheduled pipelines that spawn child workflows | | GitHub Integration | Triggering GitHub Actions from schedules |
Related Patterns
- Basic CronWorkflow
- Concurrency Policies
- Orchestration
- GitHub Integration