No /etc/crontab on centos 6

Home » No /etc/crontab on centos 6

CentOS 6.x has changed how the default system maintenance cronjobs are scheduled. These are the cron jobs responsible for things like rotating logs and indexing files on the filesystem. That is routine jobs that are best scheduled to run at off peak times when the server is not busy doing more important things like serving money making websites. So how do you go about changing the timing of cron jobs on CentOS or RHEL 6.x?

Or if you want more fine grained control you could just ditch anacron altogether and use /etc/cron.d/dailyjobs

yum remove cronie-anacron
yum install cronie-noanacron sysstat

service crond start
chkconfig crond on

Leave a Comment

Your email address will not be published. Required fields are marked *