CentOS: Installing cron, cronjobs or cron daemon (crond)

All operating systems have some kind of scheduling ability on Windows we have task scheduler on Linux we have cron both of these accomplish the same task which is allowing us to run scripts or programs automatically based on different events, times and days. From my experience people tend to call the task scheduling system on Linux various things such as cron, cronjob(s), crond and cron daemon all of these are fine but the proper more correct is either crond or cron daemon as the cron system is a daemon process running in the background of the Linux operating system.

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.

yum install vixie-cron

If the yum command is not found on your system then you most probably should be using the apt-get syntax.

apt-get install cron

If the installation package is not found then try one of the following commands, if that fails there is always Google or comment on my post and I will give you a hand.

yum install vixie-cron
yum install cron
yum install crond
yum install crontab
apt-get install vixie-cron
apt-get install cron
apt-get install crond
apt-get install crontab

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.