crons not working

teedee

Verified User
Joined
Oct 30, 2003
Messages
140
Hi,

I have a php script that is meant to run by cron to update a database, if I call the script in a browser it works fine.

I have found the path to php

[root@mars root]# which php
/usr/local/bin/php

I have tried the following without any success, any ideas why it i not working ?

/usr/local/bin/php -q -f /home/user/domains/domain.com/public_html/usrlib/cron/browse.php

/usr/local/bin/php -q /home/user/domains/domain.com/public_html/usrlib/cron/browse.php

/usr/local/bin/php /home/user/domains/domain.com/public_html/usrlib/cron/browse.php
 
Is your cron daemon running?

If so, how did you install the cronjob? Through the DA user interface, or from the command line?

If from the command line, specifically how?

Jeff
 
according to /var/log/cron the cron is running without any errors.

I added the cron using the cron feature in advanced tools.

I just added
* * * * * wget http://www.domain.com/usrlib/cron/browse.php

to another acount I have on a cpanel server to test and this makes the script run on my DA server.
 
Back
Top