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

Re: yum, crontab and logwatch



Stephen Walton wrote:

On Sat, 2004-11-20 at 13:59 +0000, Sharon Kimble wrote:


I'm trying to write a crontab entry to run yum update at 0100 and this is as far as I've got '0 1 * * * /usr/bin/yum update' but I'm unsure if this will work.



Yum comes pre-installed with a way to enable automatic updates:


/sbin/chkconfig --level 345 --add yum

See /etc/rc.d/init.d/yum and /etc/cron.daily/yum.cron for details.



I read the details in those 2 files, and it talks about a "nightly update". Is there a way to choose when it will update, or does it do it at midnight, or what?

Thanks,
Bob

--
__________________________________
Bob Rowlands browlands53 yahoo com


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