/dev/null issues
I have an issue since the last couple Leopard updates that I can't seem to get a handle on and think I am out of my element here so any advice appreciated.
I run 2 scripts every 10 minutes for the past 3 years and always had good results with them.
In Cronnix I have them setup as "pathToScript" >/dev/null 2>&1
One sends an email and the other runs a php cron. Both work well even now.
The only issue is that I now get an email saying:
/bin/sh: dev/null: No such file or directory
When the scripts run there is an entry in Console :
5/17/09 3:16:23 PM MyMac Ambiguous output redirect.
Thinking there is a directory missing I listed /dev/ in terminal and did receive the list of dev contents... but no null directory in the list.
I viewed the hard drive using invisibles and saw that /dev existed, but it appears when viewed as an alias, don't know if that is normal or not. I cannot move or delete the alias due to not enough permissions (might be a good thing lol)
I chowned dev/null to root:wheel from googled advice, and got no errors either.
My problem is that I don't want these emails, and wonder what is wrong with the way /dev/null is working , or not working now, and how to fix it. Can I rebuild dev/null? or fix it otherwise? Is there a fix all commend for this phenomena?
Any advice is greatly appreciated.
Jamy
Message was edited by: Jamy
iMac C2D 2Ghz, 2 x Mini C2D 2Ghz, G3 Lombard PB,, Mac OS X (10.5.7), AEBS, ATV