View Single Post
Old 09-12-2009, 02:39 PM  
halfpint
GFY's Halfpint
 
halfpint's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
CRON JOB gurus what is wrong with this ??

One of the scripts I purchased wants me to set a cron job as follows

0 * * * * php "path to your website dir"/cron.php

So I set it up like this in Cpanel on a shared hosting account in the Advanced (Unix Style)

Minute Hour Day Month Weekday Command
0 * * * * /home/username/public_html/cron.php


I keep getting emails saying this

/bin/sh: /home/usermname/public_html/cron.php: Permission denied

Does this mean that the cron job is not being done or being denied permissions or does it mean my email address is not acepting emails from the cron job


If it is the cron job that is being denied should I change the file permissions on the cron.php or have I done something else wrong

Thanks
__________________

Get FREE website listings on Cryptocoinshops.net

Last edited by halfpint; 09-12-2009 at 02:40 PM..
halfpint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote