Re: mysql-server

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

 



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

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux