wdalessi Posted September 21, 2007 Share Posted September 21, 2007 Hello, I have tried to get the cron jobs to run, but with no luck. I seem to be following thw direction properlyl I am using "DirectAdmin" on Fedora 4 I setup in the admin account to run and test: php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php I get emails back: Cron <admin@cp> php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php /bin/sh: php: command not found If I try to run the command in quotes"" "php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php" I get email saying: /bin/sh: php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php : No such file or directory If I run the "Get" version of setting up the CRON job, I do not get any email back at all. I think that also means it is failing to run. Thank you in advance for any help you may be able to give. Bill 0 Quote Link to comment Share on other sites More sharing options...
0 masgra Posted September 21, 2007 Share Posted September 21, 2007 wdalessi, What happens if you run the command from tcl in ssh? Run your command minus the cron timings at tcl: php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php Then check in WHMCS>UTILITIES>Activity Log to see if it has run. 0 Quote Link to comment Share on other sites More sharing options...
0 wdalessi Posted September 22, 2007 Author Share Posted September 22, 2007 Thanks for the help. I fanally got the cron jobs to run. How often should they run. Every hour? Every few hours? Every few minutes? Thanks again for any help you can offer. Bill 0 Quote Link to comment Share on other sites More sharing options...
0 PPH Posted September 22, 2007 Share Posted September 22, 2007 1 time per day. No More No less! 0 Quote Link to comment Share on other sites More sharing options...
Question
wdalessi
Hello,
I have tried to get the cron jobs to run, but with no luck. I seem to be following thw direction properlyl
I am using "DirectAdmin" on Fedora 4
I setup in the admin account to run and test:
php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php
I get emails back:
Cron <admin@cp> php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php
/bin/sh: php: command not found
If I try to run the command in quotes""
"php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php"
I get email saying:
/bin/sh: php -q /home/*****/domains/*******/public_html/whmcs/admin/cron.php : No such file or directory
If I run the "Get" version of setting up the CRON job, I do not get any email back at all. I think that also means it is failing to run.
Thank you in advance for any help you may be able to give.
Bill
Link to comment
Share on other sites
3 answers to this question
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.