Re: centos 6.3, cron and mail script output

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



On Mon, Nov 26, 2012 at 09:32:37AM +0300, Mihamina Rakotomandimby wrote:
> 
> Is there a special feature such as "it only mail if STDERR"?
> Because all the messages (rsync output + echo "foo") is to STDOUT.

Nope.  _ALL_ output, bother stdout and stderr, will be sent via mail to
the owner of the crontab or the address specified in the MAILTO
variable.

Please include the _full_ rsync command line.





							John
-- 
Never, never be afraid to do what's right, especially if the well-being of
a person or animal is at stake.  Society's punishments are small compared
to the wounds we inflict on our soul when we look the other way.

-- Martin Luther King Jr. (1929-1968), civil-rights leader

Attachment: pgpMbQ4FPuiG5.pgp
Description: PGP signature

_______________________________________________
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