Re: yum-cron email notification doesn't appear

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



On Mon, Aug 11, 2014 at 7:30 AM, <1th@xxxxxxxxxxxxxxx> wrote:

> Hi.
>
> I'm installed yum-cron and set:
>
> # by default MAILTO is unset, so crond mails the output by itself
> # example:  MAILTO=root
> MAILTO="root@xxxxxxxxxxxxx"
>
> I see in log that yum-cron done it's job:
>
> # grep "yum" /var/log/cron
> Aug 11 03:08:02 venti run-parts(/etc/cron.daily)[4516]: starting
> 0yum.cron
> Aug 11 03:49:30 venti run-parts(/etc/cron.daily)[4761]: finished
> 0yum.cron
>
>
> And I see that packages really updated, but - I don't see email
> notifications in my mail box... I got notification from spamd, for
> example, but nothing from yum-cron.
>

Anything run by cron.daily scripts result in _one_ email (unless of course
the script being run by cron.daily sends mail itself).

If you want a separate message, set up a cronjob separate from cron.daily
in cron.d


>
> How can i find it in maillog? Some text from 'Subject'?


> # grep "yum" /var/log/maillog
>

grep for "run-parts /etc/cron.daily"


>
> Doesn't give result.
>
> Or - some other way to check?
>
> Thanks for tips.
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux