Re: explanation of yum.cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "a" == akonstam  <akonstam@xxxxxxxxxxx> 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<


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux