Steps to install crond or crontab on CentOS/RHEL servers, Linux

Installation steps – for CentOS/RHEL 6

This is how I install crond onto my CentOS server edition as it doesn’t seem to come preinstalled, this might not be true for other distributions and the following command may not work for all distributions.

Execute the following command:

 
yum -y install vixie-cron crontabs

And then start it with:

 
/sbin/service crond start

To start the daemon on boot, add it to chkconfig:

 
chkconfig crond on

That’s it dude!!

Hey, I have a CentOS 7 / RHEL 7 server. How can I enable crond on it?

On CentOS 7 vixie-cron is not longer available, so you need to use cronie to install cron daemon on this server. Please use the following command to install crond on CentOS 7 server:

 
yum install cronie

That’s it!!

Let me know if you’ve any questions!

Post navigation

Arunlal Ashok

DevOps Engineer at Zeta Suite. Linux lover. Traveller. Father of two princesses.

Always happy for an open discussion! Write to arun ((@)) crybit ((dot)) com.
LinkedIn: https://www.linkedin.com/in/arunlal-a-18037773/

3 thoughts on “Steps to install crond or crontab on CentOS/RHEL servers, Linux

Leave a Reply

Your email address will not be published. Required fields are marked *