Key Concepts
CronJob
Schedule
0 * * * * for hourly).Job
Suspend
Required Permissions
CronJob Status Values
Cron Schedule Format
CronJobs use standard cron syntax with five fields:How to View CronJobs
Select Cluster
Select Namespace
Filter and Search
How to View CronJob Details
Find the CronJob
Click CronJob Name
Review Details
- Schedule configuration
- Last schedule time
- Active Jobs count
- Job template specification
- Container details
- Events
How to Run a CronJob Immediately
Trigger a CronJob to run now without waiting for the next scheduled time.Find the CronJob
Open Actions Menu
Click Run Now
Verify
{cronjob-name}-manual-{timestamp}.triggered-by: manual to distinguish them from scheduled Jobs.How to Suspend a CronJob
Suspend a CronJob to temporarily stop scheduling new Jobs.Find the CronJob
Open Actions Menu
Click Suspend
Verify
How to Resume a CronJob
Resume a suspended CronJob to restart scheduling.Find the Suspended CronJob
Open Actions Menu
Click Resume
Verify
How to Create a CronJob
Click Create CronJob
Write YAML
spec.schedule- Cron expressionspec.jobTemplate- Job template specificationspec.concurrencyPolicy- How to handle concurrent Jobs
Select Namespace
Create
How to Edit a CronJob
Open Actions Menu
Click Edit YAML
Modify Spec
- Schedule expression
- Container image or command
- Concurrency policy
- History limits
Save
How to Delete a CronJob
Open Actions Menu
Click Delete
Confirm
Concurrency Policies
Control what happens when a new Job is scheduled while a previous Job is still running:History Limits
CronJobs track completed and failed Jobs for review:Troubleshooting
CronJob not creating Jobs
CronJob not creating Jobs
- Check if CronJob is suspended
- Verify schedule syntax is correct
- Check concurrency policy - previous Job may still be running
- Review CronJob events for errors
- Verify time zone considerations
Jobs failing immediately
Jobs failing immediately
- Check container image exists and is accessible
- Verify command and arguments are correct
- Check required ConfigMaps/Secrets exist
- Review Job pod logs for error messages
Missed schedules
Missed schedules
- If more than 100 schedules are missed, CronJob stops
- Check
startingDeadlineSecondssetting - Verify cluster has available resources
- Review CronJob events
Jobs running longer than expected
Jobs running longer than expected
- Set
activeDeadlineSecondson Job template to limit runtime - Consider using Forbid concurrency policy
- Check for resource constraints slowing execution
Too many Jobs accumulating
Too many Jobs accumulating
- Reduce
successfulJobsHistoryLimitandfailedJobsHistoryLimit - Jobs beyond limits are automatically cleaned up
- Manually delete old Jobs if needed
Manual trigger not working
Manual trigger not working
- Verify you have write permission
- Check cluster connectivity
- Review Job creation errors in events
FAQ
What time zone does the schedule use?
What time zone does the schedule use?
timeZone field to specify a different zone.Can I run a CronJob manually for testing?
Can I run a CronJob manually for testing?
triggered-by: manual label.What happens to running Jobs when I delete a CronJob?
What happens to running Jobs when I delete a CronJob?
How do I see output from a CronJob?
How do I see output from a CronJob?
Can I change the schedule without recreating?
Can I change the schedule without recreating?
spec.schedule field. Changes apply to future schedules.What's the difference between Forbid and Replace concurrency?
What's the difference between Forbid and Replace concurrency?
How do I prevent Jobs from running too long?
How do I prevent Jobs from running too long?
spec.jobTemplate.spec.activeDeadlineSeconds to limit Job runtime. The Job will be terminated if it exceeds this duration.Can CronJobs restart failed Jobs?
Can CronJobs restart failed Jobs?
backoffLimit to retry within a single Job, or let the next scheduled run attempt the task.