Print
Q: What do I need to configure when running yum-cron on CentOS 6?
 
A: 
  1. Make sure postfix is installed, autostarting and started.
  2. Install yum-cron.
    1. # yum install yum-cron
  3. Set autostart daemon.
    1. # chkconfig yum-cron on
  4. Start the daemon.
    1. # /etc/init.d/yum-cron start
  5. Edit /etc/sysconfig/yum-cron
  6. Change the following lines:
    1. CHECK_ONLY=no > CHECK_ONLY=yes
    2. CHECK_FIRST=no >CHECK_FIRST=yes
    3. DOWNLOAD_ONLY=no > DOWNLOAD_ONLY=yes
    4. MAILTO="" > MAILTO=This email address is being protected from spambots. You need JavaScript enabled to view it.
    5. SYSTEMNAME="" > SYSTEMNAME="$HOSTNAME"
  7. Restart the daemon for good measure.
    1. # /etc/init.d/yum-cron restart
  8. Done.

Alse see Nightly linux updates doesn't workYum-cron settings for CentOS 7.

Hits: 47