[CentOS] configuring yum w/ update notification [was: Re: yum doesn't exit]

Bowie Bailey Bowie_Bailey at BUC.com
Tue Aug 3 16:24:42 UTC 2010


 On 8/3/2010 12:12 PM, m.roth at 5-cent.us wrote:
> JohnS wrote:
>> On Tue, 2010-08-03 at 11:30 -0400, Bowie Bailey wrote:
>>> On 8/3/2010 11:27 AM, ken wrote:
>>>> So is there a way to configure yum and/or yum-updatesd so that I get a
>>>> GUI notice that updates are available, but then run the actual update
>>>> when I want from the CLI?
>>> Run 'yum check-update' as a cron job.
>> And then | tee it >> out to /var/log/yum/check_update.log
> or | mail -s "Yum updates available" <youremail>

By default, cron will already email the output.  You can set MAILTO at
the top of the crontab to control who the emails go to.

-- 
Bowie



More information about the CentOS mailing list