Skip to content

cron vs systemd timers vs Kubernetes CronJob

cron is the classic Unix scheduler, systemd timers add dependencies and logging, Kubernetes CronJob runs pods on a schedule inside a cluster.

Aspect

cron

systemd timers

Kubernetes CronJob

Introduced

1975 / 1987

2010

2014

Config file

crontab

unit + timer

YAML manifest

Logging

Syslog, /var/log/cron

journald

Pod logs

Dependencies

None

After / Requires

Init containers

Missed runs

Skipped

Can catch up

startingDeadlineSeconds

Best for

Simple schedules

Systemd-managed services

Container workloads