View Single Post
  #1 (permalink)  
Old 28-11-2008, 22:14
Ninjabear's Avatar
Ninjabear Ninjabear is offline
Member
 
Join Date: Aug 2008
Location: Newcastle, United Kingdom.
Posts: 46
Send a message via MSN to Ninjabear Send a message via Skype™ to Ninjabear
Default Cron jobs - Permission denied or no such directory.

I've tried searching for the answer to this on the forums but couldn't so here goes. I've tried adding a Cron job to Cpanel (standard mode) and added this as my path:

/home/nibinear/public_html/mmf/cron.php

There are no htaccess files in here so it should be accessible. I also double checked the file manager for the dir and it popped up fine. When doing this test I received permission denied.

Secondly I tried http://www.managemyflats.co.uk/cron.php instead just to see if I could get a direct link to work (also tried no http://). Except here I got "no such file or directory".

Please could you tell me what I am doing wrong?

Ps. I added this to the very top of my php file, perhaps it's wrong:
#!/usr/local/lib/php -q
Reply With Quote