Cron Jobs not working

Blaster

Verified User
Joined
May 1, 2005
Messages
16
Hi,

Cron jobs not working in my server, FC3 with DirectAdmin...

My configuration cron jobs is :
* * * * * /usr/local/bin/php /home/hosting/domains/hosting-creatif.com/public_html/test.php

but not working...

Why ?

Thanks
 
When you run it from the command line are you using the same user?

I'd suggest tailing the /var/log/exim.conf/mainlog when it's supposed to run, to see if it ever calls exim.

Jeff
 
hum, I have this line in my /var/log/cron

Jun 12 04:03:01 www crond[25144]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:03:01 www crond[25145]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:04:01 www crond[25207]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:04:01 www crond[25209]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:05:01 www crond[25224]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:05:01 www crond[25226]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:06:01 www crond[25239]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:06:01 www crond[25241]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:07:01 www crond[25258]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:07:01 www crond[25259]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:08:01 www crond[25284]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:08:01 www crond[25286]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:09:01 www crond[25305]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:09:02 www crond[25306]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:10:01 www crond[25329]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:10:01 www crond[25331]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:11:01 www crond[25369]: (root) CMD (/usr/local/directadmin/dataskq)
Jun 12 04:11:01 www crond[25371]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)
Jun 12 04:12:01 www crond[25411]: (hosting) CMD (/home/hosting/domains/hosting-creatif.com/public_html/test.php)

etc... but i no receive email test in my test.php ...
i d'ont understand :(
 
Back
Top