[CentOS] getting yum-cron to send a mail
dhaas at theunixbox.com
Sat Mar 3 22:25:27 EST 2012
On Sat, Mar 3, 2012 at 9:22 PM, Bob Hoffman <bob at bobhoffman.com> wrote:
> On my old centos 5 system I get updates from yum automatically, it sends
> a mail to root.
> on my new centos 6 things have changed and it has a thing called
> I have it on and it is working....except I can find no particular file
> where mailto might be added.
> The crontab is going to root, but yum-cron has nothing as far as a
> variable for this.
> yum-cron has no man page, no documents...not sure what to do on this one.
> Thinking about just adding 'mailto=root' in the daily and weekly cron
> job yum-cron has set.
> Again, it is definitely updating the server (did so this morning, added
> stuff to the yum log) but no mails.
> CentOS mailing list
> CentOS at centos.org
/etc/sysconfig/yum-cron has a mailto on about line 37. I have't used
used it though.
More information about the CentOS