How to Fix ‘Failed to Start Regular Background Program Processing Daemon’ on Ubuntu

The cron daemon on Ubuntu automates scheduled system maintenance, database backups, log rotations, and periodic background scripts. When system boot logs “Failed to start cron.service: Regular background program processing daemon”, automated background maintenance ceases entirely. Diagnosing this issue involves inspecting cron spool directory permissions and checking crontab syntax errors.

Check Service Status and Systemd Journal Output

Determine the exact crash error code preventing the cron unit from starting.

  1. Open a terminal (Ctrl + Alt + T).
  2. Query the service operational status:
    systemctl status cron.service
  3. Inspect recent system journal logs:
    sudo journalctl -u cron -b --no-pager
  4. If the daemon is masked, unmask and start it immediately:
    sudo systemctl unmask cron
    sudo systemctl enable --now cron

Verify Permissions on Spool and Configuration Directories

Cron strictly refuses to start if permissions on /var/spool/cron/crontabs or /etc/crontab violate POSIX security policies.

  • Verify directory permissions on user crontabs:
    ls -ld /var/spool/cron/crontabs
  • Permissions must be set to 1730 owned by root:crontab:
    sudo chown root:crontab /var/spool/cron/crontabs
    sudo chmod 1730 /var/spool/cron/crontabs
  • Ensure /etc/crontab is owned by root with 644 permissions: sudo chmod 644 /etc/crontab.

Reinstall the cron Package and Test Execution

Corrupted binaries or missing PAM configuration files prevent cron from spawning unprivileged execution contexts.

  1. Reinstall cron via APT:
    sudo apt update && sudo apt install --reinstall cron
  2. Restart the service:
    sudo systemctl restart cron.service
  3. Confirm that the daemon is actively running by typing pgrep -l cron.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.