mysql-server

David Rees drees at greenhydrant.com
Wed Mar 30 16:19:02 UTC 2005


Mike Vanecek wrote, On 3/30/2005 7:12 AM:
> 
> To each his own, however, I do not use the cron.daily version, but use a 
> crontab entry:
> 
> # run yum check for updates daily and mail results to root
> 0 5 * * * root /usr/bin/yum check-update 2>&1 | mail -s "yum check-update 
> output" root

The biggest problem I had with doing what you did is that it emails you 
every day with the output from yum regardless of whether or not there is 
an update.

My script ends up only emailing me when it found an update to apply.

-Dave




More information about the fedora-legacy-list mailing list