I have a simple little scrip that takes a little data and puts it in a file. It works fine when I run it as a user or as root. When I schedule it in the cron, the commands run but it will not write to the file. I have set the file the scripts writes to as 777 and I checked the system log files and I got the following message. 0x10e1a0.cron[7377]): Could not setup Mach task special port 9: (os/kern) no access.
Can anyone out there help me with this? Do I have a profile problem, permissions, or a combination of both? Is it something else? It just seems strange the the commands runs, but it will not write to the file and I get no mail messages of any errors or problems.