Kubernetes / Deployments, Scheduling & Batch Workloads
Investigate a Kubernetes CronJob that missed its expected run
A missed execution can involve suspension, scheduling deadlines, controller availability or timezone assumptions. Inspect the actual controller state.
Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.
Start with this check
Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.
kubectl -n app describe cronjob nightly
What the results mean
The description shows schedule, suspension and recent activity. Retained history may omit older runs and does not prove exactly-once execution.
Fix the cause and check again
Compare schedule interpretation, deadline and controller evidence with the intended business time. Correct the demonstrated setting and verify the next expected run.
Before changing production
Do not launch a compensating job before checking whether a late or duplicate run already completed the business work.