[Yum-devel] [PATCH] Reorganize yum-cron to allow more flexible scheduling.

James Antill james at fedoraproject.org
Thu Jul 28 19:58:58 UTC 2011

On Thu, 2011-07-28 at 15:41 -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.
> The current possible actions for yum-cron are update and cleanup; update has
> special-case code to handle check-only or download-only; cleanup just runs
> the commands in cleanup.yum. It would be easy to add other such actions.

 Can you split the patche so the the first one is _just_ all the

 Also, it'd be nice to go straight to having:

yum-cron update
yum-cron cleanup
yum-cron check-updates
yum-cron download-updates

...and then the only things looking in sysconfig/yum-cron would be
the .cron.sh files. But I'm not going to NAK it for that.

More information about the Yum-devel mailing list