[Logwatch] redirecting STDERR to STDOUT

Tom Metro tmetro+logwatch at gmail.com
Tue Jul 17 13:16:18 MST 2007

MrC wrote:
> 0   4    * * *    /usr/share/logwatch/scripts/logwatch.pl 2>&1
> /usr/share/logwatch/scripts/logwatch.pl 2>&1

Are you sure you want to be recommending redirecting STDERR to STDOUT? I 
thought cron typically emailed output sent to STDERR, but ignored STDOUT.

The Debian /etc/cron.daily/00logwatch script doesn't perform any 


Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/

More information about the Logwatch mailing list