Automatic updates using yum.
James Wilkinson
james at westexe.demon.co.uk
Fri Aug 20 16:18:54 UTC 2004
Emil Valsson wrote:
> 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:
>
> 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
<snip>
I think you'll find the combination of -e 0 -d 0 -y means that there
*isn't* any output to send...
Take a look at man yum.
HTH,
James.
--
E-mail address: james | WARNING: Pressing CTRL+ALT+DEL again will restart
@westexe.demon.co.uk | your computer. Then again, what won't? You will
| lose unsaved information, and even supposedly saved
| information, in any case. -- David P. Murphy
More information about the users
mailing list