Yum-cron Email Notification Doesn’t Appear
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@domain.org.ua”
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.
How can i find it in maillog? Some text from ‘Subject’?
# grep “yum” /var/log/maillog
Doesn’t give result.
Or – some other way to check?
Thanks for tips.
One thought on - Yum-cron Email Notification Doesn’t Appear
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
grep for “run-parts /etc/cron.daily”