*/5 * * * * /usr/local/bin/php somephpfile.php>> /dev/null 2>&1
What exactly does the dev/null 2 mean?
Thanks
Answer
It's redirecting STDER (Standard Error) to go along with STDOUT (Standard Out). In short, both of them are redirected to /dev/null, meaning no output from the program is ever displayed.
No comments:
Post a Comment