Back to Catalog
Cloud
Behavioral
Periodic Job
Schedule recurring tasks using Kubernetes CronJobs
Intent & Description
The Periodic Job pattern uses Kubernetes CronJobs to schedule jobs to run at specific times or intervals. CronJobs are ideal for periodic maintenance tasks, backups, reports, or any recurring batch processing. They provide reliable scheduling and integration with the Kubernetes ecosystem while leveraging standard cron syntax.
Real-world Use Case
Use when you need to run recurring tasks on a schedule or when you need periodic batch processing.
Source
Advantages
- Reliable scheduling mechanism
- Standard cron syntax
- Integrates with Kubernetes ecosystem
- Automatic job management
Disadvantages
- Limited to time-based scheduling
- May overlap if jobs run too long
- Timezone handling complexity