Cronjob not working at all!! :(

trebbor

Verified User
Joined
Jun 21, 2005
Messages
33
I have tryed all the things but still he wont update!!

This is my cronjob now on 0 hour, 00;00

php /home/usernammm/domains/domainnnn.nl/public_html/badminxs/t/we3/cre-galleries.php

It is not working! The directory where the PHP file is protected by password, maybe this the reason that the cronjob wont work?


When I look at the cron log I see the follow information:

Mar 27 00:00:01 server01 crond[7631]: (ben23) CMD (/home/usernamm/domains/domeinss.nl/public_html/adsffdf/t/we3/cre-galleries.php)

....
 
Last edited:
cron jobs have a very limited $PATH, try using the full path to php. i.e.
Code:
/usr/local/bin/php /home/user/domain/xxx.com/public_html/somefile.php
 
Back
Top