Permission Denied for Cron??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phpuser15
Forum Newbie
Posts: 3
Joined: Fri Aug 15, 2003 3:10 am

Permission Denied for Cron??

Post by phpuser15 »

Hi,
Im trying to run a cron task off my host. The control panel is cpanel. However when I add a cron task, I get an email from the cron daemon that:

/bin/sh: /home/qqq/public_html/monitor3/checkhosts.php: Permission denied.

The code I enter is:
0 * * * * /home/qqq/public_html/monitor3/checkhosts.php

Can anyone please tell me what the problem is?

Thanks,
Joe
Post Reply