Automatic updates using yum.

Emil Valsson emil at netsamskipti.is
Fri Aug 20 12:51:32 UTC 2004


Hello, I have yum started as a service so it will automaticly update the
system once a day or whatever is default setting in FC1 and FC2.

It works, it does check and install new updates but it doesn't send me any
email when it's done. I thought root was supposed to get email but I cannot
see it. Any ideas?

 

This is how /etc/cron.daily/yum.cron looks like:

 

#!/bin/sh

 

if [ -f /var/lock/subsys/yum ]; then

        /usr/bin/yum -R 10 -e 0 -d 0 -y update yum

        /usr/bin/yum -R 120 -e 0 -d 0 -y update

fi

 

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040820/d2ac74f0/attachment-0001.htm>


More information about the fedora-list mailing list