It's important to keep your server software up-to-date. The commands below will enable automatic nightly updates using CentOS 5's default yum package manager.
yum -y install yum-cron crontabs vixie-cron service cron start chkconfig --level 2345 yum-cron on service yum-cron start