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

Re: mysql-server



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


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