Probably a ridiculously simple question, but I cannot find a thing on this online.

I am using vagrant boxes for several tests and in this particular case it is the Fedora 31 box from Bento with VirtualBox. When trying to use the crontab command I get an error that it is not found. A quick search with locate tells me, that there is no cron system installed at all.

So here is my question: Is it a new default in Fedora 31 to not install cron at all by default or is it the Bento project that might think this is a good idea?

On my Fedora Workstation the command is there, but it was there before as I upgraded from 28 I think to 31 over the years.


Per the Fedora Documentation,

Fedora comes with the following automated task utilities: cron, anacron, at, and batch.

However, it appears that these need to be installed as they do not come included:

Installing Cron and Anacron

To install Cron and Anacron, you need to install the cronie package with Cron and the cronie-anacron package with Anacron (cronie-anacron is a sub-package of cronie).

dnf install cronie cronie-anacron

See also: https://fedoraproject.org/wiki/Administration_Guide_Draft/Cron

If you look at the setup scripts for those Vagrant boxes, you will see very little deviation from the base image.

  • 1
    That's why I love this community! Thanks @rage for this lightning fast comprehensive answer! I was just hoping for a brief answer like "yeah, they changed that" but this is awesome. Completely explains my situation as far as I can tell. – Thorian93 Feb 18 '20 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.