Trying to run PHP script from cron job

brendanb

Verified User
Joined
Jun 29, 2009
Messages
23
hi,

what am i doing wrong here.
I have setup a cron job and can see the cron job is running, but its not executing

I have tried to run the same scrip from a ssh prompt and it works just fine.

Code:
php -q -f /home/devget/domains/devgetstuff.com.au/public_html/loadavg/logger.php >/dev/null 2>&1
 
hey,

thanks for your reply.

i have tried that but no luck. ill give it another go an see how it goes.

ta
 
Back
Top