Cron on Linux comes in two main flavours. Debian and Ubuntu ship Vixie cron (package cron). Fedora, RHEL, Rocky, Alma, Amazon Linux and Arch ship cronie. Alpine uses BusyBox crond. They print slightly different messages, so this page notes which one says what.
| Message | What it means | Printed by |
|---|---|---|
crontab: command not found | The cron package isn't installed. | your shell |
no crontab for root | That user has no crontab file yet. Not a fault. | Debian cron, cronie |
errors in crontab file, can't install.Invalid crontab file, can't install. | A line failed the syntax check, so nothing was saved. | Debian cron / older cronie; current cronie |
new crontab file is missing newline before EOF, can't install. | The last line has no line break after it. | Debian cron |
(CRON) info (No MTA installed, discarding output) | A job printed output and there's no mail program to send it. The job itself ran. | Debian cron |
You (alice) are not allowed to use this program (crontab) | Blocked by /etc/cron.allow or /etc/cron.deny. | Debian cron, cronie |
Unit cron.service could not be found. | Wrong service name for your distro, or cron isn't installed. | systemd |
System has not been booted with systemd as init system | Usually WSL without systemd, or a container. | systemctl |
Operation not permitted (macOS) | macOS privacy protection is blocking cron or Terminal. | macOS |
Full fixes
- "crontab: command not found": install cron on every distro
- crontab missing on Amazon Linux 2023
- "no crontab for root": what it means
- "bad minute … errors in crontab file, can't install"
- "No MTA installed, discarding output"
- "You are not allowed to use this program (crontab)"
- "Unit cron.service could not be found"
- Cron not running inside a Docker container
- Cron not starting in WSL
- macOS crontab "Operation not permitted"
- Where are the cron logs?
- No error at all, but the job never runs
Where to find cron's own messages
# Debian / Ubuntu (systemd) journalctl -u cron --since "1 hour ago" grep CRON /var/log/syslog # if rsyslog is installed # Fedora / RHEL / Amazon Linux (cronie) journalctl -u crond --since "1 hour ago" cat /var/log/cron # if rsyslog is installed # Arch journalctl -u cronie
Debian's cron logs to the syslog cron facility, and its -L option controls how much it logs (1 = job start, 2 = job end, 4 = failed jobs, 8 = process number; add them up). Every location, plus how to get a separate cron.log, is on where are cron logs.
Sources
Checked against these official sources and, where marked, tested on Ubuntu 24.04 (cron 3.0pl1-184ubuntu2). Last verified 18 November 2026.