TutorialNinjas
05-20-2007, 02:28 AM
I am trying to have a cron to clear out a file daily, the file is located in the forum root directory with 777 permissions.
If i run the php script from my browser it will work however when i run it from the cron it gets a permission denied.
The command i have the php file doing is fopen($file,w).
If i run the php script from my browser it will work however when i run it from the cron it gets a permission denied.
The command i have the php file doing is fopen($file,w).