> > What is the proper way to redirect output to /dev/null? I've 
> > been using the following in my crontab but output is still 
> > ending up in my mailbox.
> > 
> > ... 2>&1 > /dev/null
> 
> The ampersand preceeds the greater-than symbol, and you 
> redirect STDOUT
> to /dev/null, and then redirect STDERR to STDOUT.
> 
>  ... > /dev/null 2&>1

Whooops!  Sorry...
It should be:
... > /dev/null 2>&1
The the greater-than symbol preceeds the ampersand .

I was too quick on the trigger!


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to