Timothy Murphy wrote:
Paul Howarth wrote:
I don't see any reason to treat yum any differently
from the other entries in /etc/cron.daily , like logrotate and tetex.
Neither of these provide a convenient way to disable/reenable the cron
job whilst retaining all other functionality. Many people don't want yum
to run from cron but do want to retain yum functionality for manual
operations. I really don't see a problem with the way this works
I don't follow your reasoning.
Personally, I either want to run "yum update" nightly,
in which case I would like an entry in /etc/cron.daily/ ,
or I want to run "yum update" manually,
in which case I don't want an entry in /etc/cron.daily/ .
It's not the sort of thing I would want to switch on and off very often.
Agreed. This could be done by creating a subpackage for yum called
yum-cron, which would contain the cron job only, and have a dependency
on yum. So if you wanted automatic updates, you'd do "yum install
yum-cron". But is it really worth creating such a package when there's a
perfectly working arrangement as-is?
Paul.