dexus Posted November 25, 2007 Share Posted November 25, 2007 I created a test account, and test order, that is not payed, and on every cron run system send an "Invoice Overdue Notice" to a client. Why? Is that normal? How often should cronjob be configured to run for WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
Chrisw Posted November 25, 2007 Share Posted November 25, 2007 I noticed this as well. I thought it would be good to change the cron to run every 5 minutes just for invoice reasons (instead of sending invoices every 24 hours). Let's say they got payment reminders every 5 minutes over and over until I changed it back to 24 hours. I wish WHMCS had separated crons for this reason 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted November 25, 2007 WHMCS CEO Share Posted November 25, 2007 I noticed this as well. I thought it would be good to change the cron to run every 5 minutes just for invoice reasons (instead of sending invoices every 24 hours). The invoices that are due to be created at 3am on any given day are the same invoices that are due to be created at 3pm on any given day so running it more than once a day is pointless and unnecessary - which is why it isn't possible and doesn't need to be added. In response to the original question, just once per day the cron should run. Matt 0 Quote Link to comment Share on other sites More sharing options...
Chrisw Posted November 26, 2007 Share Posted November 26, 2007 I can see you point for the most part, but understand mine; What happens to manual invoices? Have to wait 24 hours unless you manually run them. Maybe we found a bug, because invoice reminders got sent every 5 minutes in my case. Otherwise, I think the cron/command/invoice should auto run on manual invoices as well. The same as if someone was to order a new service or product. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted November 26, 2007 Share Posted November 26, 2007 I can see you point for the most part, but understand mine; What happens to manual invoices? Have to wait 24 hours unless you manually run them. Maybe we found a bug, because invoice reminders got sent every 5 minutes in my case. Otherwise, I think the cron/command/invoice should auto run on manual invoices as well. The same as if someone was to order a new service or product. The system can send the invoice at creation time. It doesn't wait for a cron to run. 0 Quote Link to comment Share on other sites More sharing options...
dexus Posted November 26, 2007 Author Share Posted November 26, 2007 But what about activation of hosting accounts, and domains registration, how will day run without a cron, if they should run after for example manual payment is submited by admin, or they will have to be run manualy. 0 Quote Link to comment Share on other sites More sharing options...
Chrisw Posted November 26, 2007 Share Posted November 26, 2007 If you add an order for the client, the order is set to active, the due date is the same day, but you will need to manually generate the invoices from the admin homepage. if you manually create an invoice, notification is not sent to the client (for me anyway) until the next cron 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted November 26, 2007 WHMCS CEO Share Posted November 26, 2007 But what about activation of hosting accounts, and domains registration, how will day run without a cron, if they should run after for example manual payment is submited by admin, or they will have to be run manualy. The cron does not run hosting account activations - they run in real time - so the cron running has no affect on that. If you add an order for the client, the order is set to active, the due date is the same day, but you will need to manually generate the invoices from the admin homepage. Incorrect, the add order process will generate the invoice immediately unless you tell it not to in which case you can ask it to generate any time with the button on the admin homepage. if you manually create an invoice, notification is not sent to the client (for me anyway) until the next cron Again, this wouldn't happen - you have the option to send the invoice created email when creating the invoice - but the cron running, the only thing that is going to do is send is an overdue notice. So as you can see, there is no point running the cron more than once per day. Matt 0 Quote Link to comment Share on other sites More sharing options...
dexus Posted November 26, 2007 Author Share Posted November 26, 2007 Thanks Matt 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.