valid-cron-job-schedule
Rec
Enabled in recommended preset.Require cron job schedules to be valid.
See Kubernetes documentation for more information about schedule syntax.
Examples
✅ Correct manifest for this rule:
new CronJob({
spec: {
schedule: "5 * * * *"
}
});
❌ Incorrect manifest for this rule:
new CronJob({
spec: {
schedule: "5 * * *"
}
});