Cron expression for every 5 months
Run a scheduled job every 5 months on the first day at midnight.
0 0 1 */5 *Runs every 5 months on the first day at midnight.
Primary dialect: Unix / Linux
Next run examples
Static preview generated for the primary dialect. AWS examples use UTC; other examples use Europe/Berlin for display.
Nov 1, 2026, 12:00 AM
Dialect versions
Unix / Linux
0 0 1 */5 *Standard Unix/Linux cron expression when this schedule is expressible with five fields.
AWS EventBridge
cron(0 0 1 */5 ? *)AWS EventBridge cron schedules are evaluated in UTC. Use rate(...) for simple fixed intervals when possible.
Quartz
0 0 0 1 */5 ?Quartz includes a leading seconds field and supports additional day operators.
Kubernetes
0 0 1 */5 *Kubernetes CronJobs use standard five-field cron syntax. Non-standard operators require job-level logic.
Variants
First day at 09:00
0 9 1 * *Runs at 09:00 on the first day of each month.
Every quarter
0 0 1 1,4,7,10 *Runs on the first day of each quarter.
Last day with Quartz
0 0 0 L * ?Runs on the last day of each month in Quartz.
Kubernetes notes
- Kubernetes CronJobs use standard five-field cron syntax.
- "Set concurrencyPolicy
- restartPolicy
- and history limits based on expected runtime and failure behavior."
Common mistakes
- Forgetting to confirm which timezone the scheduler uses.
- Assuming the schedule starts relative to deployment time instead of matching wall-clock fields.
FAQ
What is the cron expression for every 5 months?
Use `0 0 1 */5 *` for standard cron when the scheduler supports this syntax.
Can I use this expression in Kubernetes?
Yes, if it is standard five-field cron. AWS and Quartz-only operators need a Kubernetes-safe alternative or application-level date logic.