Re: Cron sending to root after changing MAILTO

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




> Date: Thursday, July 20, 2017 09:02:02 +0100
> From: Pete Biggs <pete@xxxxxxxxxxxx>
>
> On Wed, 2017-07-19 at 23:31 +0000, Chad Cordero wrote:
>> It’s being rejected before it even reaches the mailbox, so
>> forwarding won’t work.  Crond should really be using the MAILTO
>> variable and it’s not.
>> 
> Have you restarted crond after you made the changes?
> 
> P.

An explicit restart of crond shouldn't be needed as it should
automatically reload the changed file the next minute, e.g.:

 Jul 20 01:44:01 ... crond[1464]: (*system*) RELOAD (/etc/crontab)

but if that's not being logged, then then that might indicate an
issue with crond.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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