I think I'm confused about exactly what the difference is between running a PHP script as a cron job versus accessing it with a browser. When I test test.php by hitting it with Safari, it writes to a text file as expected, makes DB entries, etc. When it runs as a cron job, it does everything except write to a text file.
I already dealt with it not heading to the PHP parser by inserting: #!/usr/bin/php at the start of the file.
Why won't my script write to my text file via cron, when it works via Safari?
(It's a straight forward fopen, fwrite, fclose bit of code, so revealing it wouldn't be illuminating I don't think)