I am recieving this error (Warning: chdir(): Permission denied (errno 13)) when I run a php file as a cron job in CentOS
Posted on 2008-10-24
I created a cron job in cPanel (CentOS) to run a php file every hour. It was going fine, until one hour it began returning this error. I set the permissions for that file to 777, but that didn't resolve it. I also tried taking ownership of public_html with the nobody account, which also didn't work. What am I missing here? Do cPanel cron jobs run as a special user?