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 A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

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 *