My PHP will run fine and writes to a file. My Cron Job does execute the PHP and preforms the necessary functions (trim records out of a database), but will not write to the file.
The cron job runs as Root. I'm using:
fwrite($myfile,"some text....
");
Any ideas?