Yum Update for Servers

Jeff Vian jvian10 at charter.net
Mon Dec 20 08:20:36 UTC 2004


On Mon, 2004-12-20 at 15:42 +0800, Ow Mun Heng wrote:
> Hi all,
> 
> 	Just wondering what you guys or how you guys are doing the updates for
> fixes for internet facing boxes.
> 
> I currently do it manually via a command line, 
> $ yum update
> 
> Is there a more automated way??
> (I'm sure there is.. but w/o access to the I-Net at work, I'm a lost
> sheep)
> 
> I bet one can do it via the command line / cron 
> 
> yum update -q(uiet) -a(ll) -n(no ask)
> is there such a thing??
> 

yum -y update > /dev/null
will work well from cron

If you want the results mailed to you to see what has been done just
remove the redirect and the output will be sent by email.

It also can be done with the yum service, although I have not used that
method.




More information about the fedora-list mailing list