ozzie Posted January 15, 2007 Share Posted January 15, 2007 Hi, I'm struggling to get the cron job running on a Direct Admin box. I don't think it's running. I am not getting a fail email from cron nor am I getting a report from the WHMCS job telling me what has been done. Contrary to Cpanel, in DA there is no reply email to be set up for the cron queue. I have tried to set up the PHP as well as the lynx job. So a really have a few questions: Anyone running WHMCS on a DA box? How do I find out if the cron is running or not? Should I move WHMCS to a Cpanel box? Oh, I don't have SSH access to this box to try from the command line TIA, Ozzie 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 15, 2007 WHMCS CEO Share Posted January 15, 2007 Open a ticket with the url to your WHMCS install and I can try manually running it and see what happens. 0 Quote Link to comment Share on other sites More sharing options...
ozzie Posted January 15, 2007 Author Share Posted January 15, 2007 UPDATE I got a result (email from WHMCS) but don't know from wich job. I didn't remove the test entries I created earlier this afternoon. The email was timestamped Mon 15-Jan-07 7:11 PM and the job ran at : Cron Job Report for 15-01-2007 03:11:17 HOwever the crpon jobs were scheduled for * 17 * * * php -q /home/*path tp WHMCS*/admin/cron.php > /dev/null 55 22 * * * GET http://*URL*/*PATH*/admin/cron.php 50 22 * * * php -q /home/*path tp WHMCS*/admin/cron.php It must be one of the latter jobs that worked cos the first one has been there for a while now. Funny though that it ran only at 03:11:17 Must have been one hell of a queue in front of it??? I must check when they are running their backups. At least it is now only a matter of elimination to work it out. Cheers, Ozzie 0 Quote Link to comment Share on other sites More sharing options...
ozzie Posted January 17, 2007 Author Share Posted January 17, 2007 Open a ticket with the url to your WHMCS install and I can try manually running it and see what happens. Done 0 Quote Link to comment Share on other sites More sharing options...
generic Posted January 17, 2007 Share Posted January 17, 2007 look in your server logs and see what is running correct, etc. 0 Quote Link to comment Share on other sites More sharing options...
bodhisattva Posted January 17, 2007 Share Posted January 17, 2007 55 22 * * * /usr/local/bin/php -q /home/path/to/admin/cron.php > /dev/null 0 Quote Link to comment Share on other sites More sharing options...
ozzie Posted January 21, 2007 Author Share Posted January 21, 2007 55 22 * * * /usr/local/bin/php -q /home/path/to/admin/cron.php > /dev/null Yes the /bin/ did the trick. Thanks, Ozzie 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.