CentOS 5 Crontab Missing – No Cron Daemon – Install Crontab
Are you looking for crontab on a new install of CentOS 5? Well if you do a custom installation and don’t select anything then it will not be installed by default. In order to install it there just needs to be one package installed. See the below commands to install and setup crontab.
Use this command to install crontab, start the cron daemon, and turn it on at startup.
yum -y install vixie-cron.x86_64 /sbin/service crond start /sbin/chkconfig crond on
To edit crontab entries use the following command which will open up the crontab editor in vi the default text editor.
To exit vi and the crontab editor without saving any changes use the following sequence of keys, “Esc+:+q!”
To exit vi and the crontab editor saving any changes use the following sequence of keys, “Esc+:+wq”