Aug 092014

Ci spiace, ma questo articolo è disponibile soltanto in Inglese Americano.

Popular Posts:

Flattr this!

  3 Responses to “(English) Enabling automatic updates in Centos 7 and RHEL 7”

  1. How does yum-cron work? Is it constantly checking for updates and will download and apply them in real time? How can I configure yum-cron to run only at certain times?

    • There is this 0yum-daily.cron file inside your /etc/cron.daily/ that is executed daily by your scheduler. It checks for the existence of /var/lock/subsys/yum-cron file. If it doesn’t exist, the cron job just ends. If it does exist, the cron script executes /usr/sbin/yum-cron.

      And this /var/lock/subsys/yum-cron file is touched or removed by your yum-cron.service systemd script when you start or stop it respectively.

  2. Hello friend! thanks for the nice post.!

    I have a question about the schedule for apply the updates. for example if i want to apply the updates only at midnight, which will be the best solution to set yum-cron to run in this schedule?


 Leave a Reply




You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>