Skip to content

FAQ

Frequent questions about cron: the five fields, how to test schedules, and why the job did not run.

What are the five fields?

minute, hour, day of month, month, day of week. 0 3 * * * = 03:00 daily.

How do I test a schedule?

Use crontab.guru, or run the command manually first with the same environment.

Why did my job not run?

Usually: wrong path, missing environment variable, or the job ran and failed silently because stderr went to a mail address that no longer exists.

cron vs systemd timers?

systemd timers integrate with the service manager, support dependencies and catch-up runs. cron is simpler and more portable across Unix-like systems.