directing output in crontab

Wade Preston Shearer lists at wadeshearer.com
Tue Jul 22 15:37:36 MDT 2008


In my cron tab, I was using &> to direct output to /dev/null. I want  
to make sure I understand the synxtax. I was told that 1> and 2> could  
be used to redirect more specifically; 1> being the output and 2>  
being errors. Is that correct? Does &> catch both?, so the only reason  
to use 1> and 2> would be if I want the two types to go to two  
different log files?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20080722/0930219f/attachment.bin 


More information about the PLUG mailing list