Hi,
I have a PHP file that creates directories and files. When I open it in my browser, all is OK. However when my cron open it, it doesn't creates directory and files. I know that the cron runs the PHP file, because the script send me mail every time when its started. I think it is something with the permissions. I have set 777 permissions to that file, and also 777 to the directory where the files must be created. Can you help me? Thanks in advance.
P.S. This is my cron task:
/usr/local/bin/php /home/username/public_html/subdomain/index.php