Skip to content

CentOS 5 Crontab Missing – No Cron Daemon – Install Crontab

by Jon on March 11th, 2011

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.

crontab -e

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”

From → Linux

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

%d bloggers like this: