Important Notice:
Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
My Problems with CronJobs and whmcs Automation Tasks
Hi guys,
Can anyone help me please! I have a RC account in H9 and I want to execute an automation tasks inside my whmcs and for that I have to use one of the two commands: either: "php -q /home/myUsername/public_html/billing/admin/cron.php" or: "GET http://www.hostingstations.com/billing/admin/cron.php" but when I use the first command, NO message I receive, although I provided my email address. and when I use the second command, I receive this message: "/bin/sh: GET: command not found" My questions please are: 1- Where is the problem exactly (inside my whmcs or CronJobs Command in my cPanel)? 2- Is there anything else I have to write it in CornJobs Command (such as, /usr/lib/ or /usr/bin/)? 3- what about my "cron.php" file that I want to execute it, Should I write any command inside it (such, #!/usr/lib/ -q) at the top of the "cron.php" file content? Best Regards Ahmed Almonajed |
|
#2
|
|||
|
|||
|
Instead of the sugested:
Code:
php -q /home/myUsername/public_html/billing/admin/cron.php Code:
curl -o /dev/null http://your_domain.com/billing/admin/cron.php
__________________
Get Your Business Found |
|
#3
|
|||
|
|||
|
Hi Kobra,
Thank you for your quick reply When I used this code: "curl -o /dev/null http://your_domain.com/billing/admin/cron.php" I received this message: Quote:
Regards |
|
#4
|
|||
|
|||
|
As I recall, this is "SUCCESS" - - BUT there were no transactions to process.
Remember what this is doing for WHMCS - it is to be scheduled for once a day to process things like invoicing and the like. WHMCS uses other routines for account creation and email, etc. If you are in a testing environment where no accounts are active and would get an erroneous mail/invoice - - you can set this to cron say at 30 min intervals and create a test account and set the next invoice to today and upon cron excecution you should receive an invoice. Then set cron back to once a day
__________________
Get Your Business Found |
|
#5
|
|||
|
|||
|
Hello,
When you use: php -q /home/myUsername/public_html/billing/admin/cron.php Do you receive a message from the WHMCS system with the details of your cron? The cron system will only email you when there are errors with your cron. |
|
#6
|
|||
|
|||
|
About 3 months ago, I started getting error messages from WHMCS cron. All the email says is "No input file specified"
I changed nothing in the cron setup in cPanel, and as far as I know, there should only be one cron set up, however I get this same error after a 1:00AM job that I know about, and then another one shortly after 10:00AM every day. I have to go in and manually do all the billing and reminders etc. as automation is just plain not working. Will installing the new update fix this? Also how do I get rid of that second cron? I have searched my WHMCS installation and I do not find any file with "cron" in the name.
__________________
John |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WHMCS Problems | peterbra | WHMCS | 2 | 12-09-2009 03:38 AM |
| Node26 + DNS Problems | kostas | Shared Web Hosting | 0 | 01-02-2009 05:21 PM |
| Problems with node47 | Martyn | Reseller Hosting | 0 | 06-19-2008 05:07 PM |





Linear Mode

