explanation of yum.cron

Jason L Tibbitts III tibbs at math.uh.edu
Sun Aug 14 19:11:36 UTC 2005


>>>>> "a" == akonstam  <akonstam at trinity.edu> writes:

a> You are correct and I started yum, but the bigger question still
a> remains what does yum.cron do.

Once per day cron will run every script in /etc/cron.daily, which
includes yum.cron.  That script first checks to see if yum was enabled
by /etc/init.d/yum; to do this it checks for the existence of
/var/lock/sybsys/yum.  If that file is not present the script just
exits without doing anything.  Otherwise it invokes yum.

This arrangement allows you to use the standard initscripts system
(chkconfig, service, and various graphical tools) to control whether
or not yum runs nightly.  Otherwise you'd have to manage things
manually.  Of course, you still can do things manually if you really
want to.

 - J<




More information about the fedora-list mailing list