I have a php script that should create some static pages every few minutes, and if I just run the script in my browser it works fine. Blank screen, so no errors and the static files are written correctly.
If I set it up as crontab however I have errors like this in my mailbox
So it actually runs and thus the crontab command is ok, yet it has errors I dont have when running the script.Code:<br /> <b>Warning</b>: fopen(/home/noxanet/public_html/_statics/static_index.php) [<a href="http://www.php.net/function.fopen">function.fopen</a>]: failed to create stream: Permission denied in <b>/home/noxanet/public_html/test/cron_minute.php</b> on line <b>34</b><br /> <br />
The permissions for that directory currently are 773
Whats going wrong here ?






Bookmarks