Jake09 Posted July 10, 2009 Share Posted July 10, 2009 I understand why I'm getting the error, I just need to know the exact syntax to input into the WHMCS and cPanel fields on the server. At my WHMCS I have this: php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php At my cPanel I have: /home/myacct/public_html/mywhmcs/myadmin/cron.php What is missing from those lines? Should my cPanel Cron also have the php -q before the string? And maybe I should have user/local/bin/php -q before the string at WHMCS? Thanks for any answers. 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted July 11, 2009 Share Posted July 11, 2009 In cpanel cron I use php -q /home/cpanelusername/public_html/whmcs/admin/cron.php 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted July 11, 2009 Share Posted July 11, 2009 I understand why I'm getting the error, I just need to know the exact syntax to input into the WHMCS and cPanel fields on the server. At my WHMCS I have this: php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php At my cPanel I have: /home/myacct/public_html/mywhmcs/myadmin/cron.php What is missing from those lines? Should my cPanel Cron also have the php -q before the string? And maybe I should have user/local/bin/php -q before the string at WHMCS? Thanks for any answers. Try /usr/local/bin/php -q /home/myacct/public_html/mywhmcs/myadmin/cron.php 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.