redham Posted April 14, 2007 Share Posted April 14, 2007 I set up the cron job in cPanel that is required by WHMCS but I have a question about it. The first command: 0 9 * * * php -q /home/xxxxxx/public_html/whmcs/admin/cron.php caused an error so I used the second command: 0 9 * * * GET [url]http://mmm.xxxxxx.com/whmcs//admin/cron.php[/url] and I have a question about it. The part "whmcs//admin" above has a double "//". Is that a mistake in WHMCS or is it suppose to be there? This is the exact way the code is in the example in WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 14, 2007 Share Posted April 14, 2007 Hey, Use the following command in your crontab 0 9 * * * GET http://www.domainhost.com/whmcs/admin/cron.php and the // doesn't really matter... From, Adam 0 Quote Link to comment Share on other sites More sharing options...
redham Posted April 14, 2007 Author Share Posted April 14, 2007 That's the same cron line as in my second example above (the one I'm using) except it doesn't have the double //. I think I'll change the // to /. I can't see why they would be there anyway. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted April 14, 2007 WHMCS CEO Share Posted April 14, 2007 The double // will be there because of what you entered for your system url in Config > General Config - check you didn't enter a double slash there. Matt 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted April 14, 2007 Share Posted April 14, 2007 Hi Matt, I think it may be to do with entering a single / at the end of the URL but WHMCS adds a / as well, creating a double / Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
redham Posted April 14, 2007 Author Share Posted April 14, 2007 Hi Matt, I just checked and it doesn't have the "//" except in Zttp://. However I closed the url with a "/". Example: _ttp://mmm.domain.com/whmcs/ This caused the double // because when I just now changed it to: Zttp://mmm.domain.com/whmcs (no ending "/") the double // in the example cron was gone. Anyway the cron is running now. Thanks redham P/S This rule about no World Wide Web url until I get 15 posts is keeping me from properly discribing my problem! Soooo I used mmm.domain.com instead. This is one lame rule. 0 Quote Link to comment Share on other sites More sharing options...
redham Posted April 14, 2007 Author Share Posted April 14, 2007 Hi Matt, I think it may be to do with entering a single / at the end of the URL but WHMCS adds a / as well, creating a double / Cheers, Paul YEP! Thanks Paul. you must have posted as I was typing my reply. Thanks 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.