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
pgp9m6FLvpPZc.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos