On Thu, Jul 28, 2011 at 02:48:50PM -0400, Matthew Miller wrote:
> Previously, the entire yum-cron shell script lived in /etc/cron.daily, using
> options set in /etc/sysconfig/yum-cron to further restrict the days when
> updates and cleanup are done. This moves the main functionality to a
> stand-alone shell script, but the logic for days-to-run stays in the cron
> scripts. That keeps everything compatible and is nice and simple, but also
> allows one to replace the cron configuration with, for example, updates
> which run multiple times per day.

So what's all this then? :)

Basically, we want to run yum-cron every three hours. I can imagine other
people wanting the script to run at carefully-specified times. But the
existing yum-cron script isn't very flexible, making several assumptions
that it will be called daily (and it _lives_ in cron.daily). This patch
moves things around a bit, but I resisted the urge to make further
functional changes, at least as much as I could.

If this is accepted, I do have a few more changes I'd like to make -- minor
code cleanup/consistency, documentation, and a few feature enhancements.
(Notably, basic logging to syslog on success or failure, and different
e-mail subject lines based on the same.)


-- 
Matthew Miller           [email protected]          <http://mattdm.org/>
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to