CronJob

The Kubernetes object that creates a new Job on a repeating schedule written in cron format.

In more detail

concurrencyPolicy decides what happens if the previous run is still going: Allow, Forbid or Replace. History limits keep only a few finished Jobs so the namespace stays tidy. Test the first run and the time zone before trusting an overnight schedule.

Examples

kubectl get cj report-daily
Attackers create CronJobs, often in kube-system, to run their container again and again; ATT&CK tracks this as T1053.007.

Related terms

Taught in

References

Certification courses