[ale] cron mail, how to STOP it.

Paul Cartwright paul_tbot at pcartwright.com
Thu Oct 20 15:18:02 EDT 2005


On Thu October 20 2005 3:08 pm, Geoffrey wrote:
> '>/dev/null' redirects standard output to /dev/null. (the 1 is
> assumed) so '1>/dev/null' is the same as '>/dev/null'
>
> 2>&1 redirects standard error to standard out.
> Thus everything goes to the bit bucket.
>
> 1 is standard out
> 2 is standard error
> 0 is standard in
>
> You can create additional file descriptors as follows:
>
> exec 3>/tmp/output
>
> date >&3 # writes the date to /tmp/output
>
>
> so '1>/dev/null' is the same as '>/dev/null'

wonderful info, that is what I needed to know.. It's been TOO many 
years since I worked on crons.... & STDIN & STDOUT...


-- 
Paul Cartwright
Registered Linux user # 367800
 X-Request-PGP: http://home.bellsouth.net/p/PWP-pcartwright/key.asc



More information about the Ale mailing list