[CentOS] centos 6.3, cron and mail script output

Mihamina Rakotomandimby mihamina at rktmb.org
Mon Nov 26 06:32:37 UTC 2012

On 11/23/2012 12:18 PM, Birta Levente wrote:
>> check out the crontab file if you have these,
> If it's centos 6, maybe /etc/anacrontab

I have "MAILTO=root" in the file.
If I make a CLI test to mail to root, all is working.

Is there a special feature such as "it only mail if STDERR"?
Because all the messages (rsync output + echo "foo") is to STDOUT.

I cant find any doc about that.
I suspect the thing to mail only if it's an error message...


More information about the CentOS mailing list