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

The daemon crond is pre-installed in almost all Linux/Unix servers. In some rare situations, we need to install it manually on our servers. Here I’m going to explain the steps to install cron daemon on CentOS and RHEL servers.

We all know ‘What is crond?’ and its importance in servers. The daemon crond is using for job scheduling.

Crontab is the program used to install, remove or list the tables used to drive the cron daemon. Cronjobs are predefined jobs which are running periodically according to the settings we have done previously.

In the /etc folder there is a file called crontab where we can write the command or name of the script that is to be executed at as per our customized time. You can refer the link pasted below to schedule jobs using crontab.

Linux Job Scheduling Using Crontab

How to check whether it’s already installed on the server?

Yeah.. This is important to check if it’s installed, before going to start the installation steps. We can check this by using the following commands:

rpm -qa|grep cron

Sample result:

[[email protected] ~]$ rpm -qa|grep cron

Installation steps – for CentOS/RHEL 6 and 7 servers

The installation of Cron daemon is simple through shell. In this article, I’m explaining the steps to install Cron daemon on CentOS/RHEL 6 and 7 server. Try the commands and live like a master!!

Post navigation

Arunlal Ashok

DevOps Engineer. Linux lover. Traveller.
Always happy for an open discussion! Write to arun ((@)) crybit ((dot)) com.

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

Leave a Reply

Your email address will not be published.