Tim Wunder wrote:
On 9/16/2003 12:23 PM, someone claiming to be Jason Joines wrote:
Michael Hipp wrote:
Jason Joines wrote:
When I do the same thing in a script via cron, I get the error in
the ouput even with 2/dev/null.
I generally use /dev/null to keep things quiet.
You can also put
How do you send errors to /dev/null in cron jobs?
When I run nslookup manually on an IP address that doesn't have a
name associated with it I get this output:
# nslookup 172.16.1.1
Server: dynegy.osucba.edu
Address: 172.16.0.254
*** dynegy.osucba.edu can't find 172.16.1.1: Non-existent
Jason Joines wrote:
When I do the same thing in a script via cron, I get the error in the
ouput even with 2/dev/null.
I generally use /dev/null to keep things quiet.
You can also put that at the end of the line in /etc/crontab to quiet
the whole cron job.
Michael