View Single Post
dataskills

 
Member Since: Dec 15, 2010
Posts: 2
dataskills is on a distinguished road

dataskills is offline
I have a cron job registered that runs a PHP script that in turn outputs a log file each time it is run. When I log in as root (via ssh) I go to the log files directory and there is nothing. Then I made a PHP script to list files in the directory, and there they are! Apparently PHP can read and write them where root can't even see them. I'm stumped, any ideas?

Additional info: if I run the PHP script that cron is running as root, it outputs a log file that I CAN see.

Thanks in advance!
QUOTE Thanks