Re: Re: cron style yum-updatesd configuration

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

 



Steven Cote wrote:
Forgive me if this is a braindead question, but I can't seem to find
the answer in any of the docs.

What I'm trying to accomplish is to set yum-updatesd so that it will
check for updates during the night, download them and send the
notification. The downloading and notification is easy (do_update,
do_download and do_download_deps), but I'm having trouble setting the
schedule.
Because there isn't one.

As best I can tell, the only scheduling parameter is 'run_interval'
which only nominates how often it checks without any care of what time
of day that interval occurs in. What I'd really like is something
similar to the way you schedule cron tasks.
What's wrong with using cron ?

The reason it's important or me to nominate a particular time of day
to run is because my ISP imposes limits my data transfers from 08h00
to 00h00, but from 00h00 to 08h00 it's unlimited. Obviously, I'd like
all my updates to be downloaded during this window.

Is there a simple way to accomplish what I'm doing with yum-updatesd?
Yes, how about two cron items:
05 0 * * * service yum-updatesd start
30 7 * * * service yum-updatesd stop
and change the same service to not run by default.

or alternately:
install the yum-downloadonly yum plugin.
and schedule for midnite and 7:30:  yum -y --downloadonly update
, but leave the yum-updatesd config as original [notify only].

DaveT.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux