When does the daily YUM update run?

My Iworx daily runs at a different time than the root daily cron.

When looking in NodeWorx at the update page, the time of the update in the drop down is the same time as my Iworx daily cron… But looking under /etc/cron.daily there is a YUM update script in there.

So I’m a little confused as to which one is doing what? Would YUM get run by Iworx then again by root? :confused:

Some YUMs put a cron job in daily and some have a init.d service. What’s happening with the setup you describe is most likely resulting in a double-yum run which won’t hurt anything under normal circumstances but is probably not ideal.

Chris

So basically I could remove the root /etc/cron.daily yum script sicne Iworx is already taking care of that?

The Yum.cron in /etc/cron.daily:


#P!/bin/sh

if [ -f /var/lock/subsys/yum ]; then
        /usr/bin/yum -R 10 -e 0 -d 0 -y update yum
        /usr/bin/yum -R 120 -e 0 -d 0 -y update
fi

Are any of the other scripts in /etc/cron.daily already handling internally by Iworx?

/etc/cron.daily:


00-logwatch  freshclam  logrotate        rpm           tmpwatch
0anacron     fw         makewhatis.cron  slocate.cron

You can Justin, yes and nothing else in cron.daily is touhced by iworx-cp.

Chris