Is the 2>&1 necessary?
In my cron table i put a line like that
0 2 * * * /usr/local/bin/myscript.pl > /var/log/mylog.log
I forgot to put the 2>&1 at the end of the line above and it worked as i expected, no email came to my inbox, but in the /var/log/mylog.log
Now, i am wondering about the necessity of 2>&1
|