BodgeIT Posted August 14, 2012 Share Posted August 14, 2012 I just started to get the automation script running and since I did I've had nightmares. First of all it started sending out loads of overdue emails, this was expected as the accounts had or were about to go overdue. This was not a problem in fact I expected it. What was a problem was when the script started terminating accounts, one of which hadn't even gone passed it's overdue date yet. I have the appropriate settings to not allow auto terminate but this seems to be ignored by the script. I have since created Client Groups with Exempt from Auto suspend/terminate but I want clients to be auto suspended, just not terminated! Any suggestions? I am running WHMCS 5.1.2 on a linux system. 0 Quote Link to comment Share on other sites More sharing options...
BodgeIT Posted September 20, 2012 Author Share Posted September 20, 2012 After not getting a reply on this the last time I hurriedly turned of the cron job for this script but as you can understand, I need to get my system more automated. So I went through all my accounts and made sure they were all OK for dates and expiry. I also double checked the settings in Automation...see pic: I then ran the script and found that again, it had terminated accounts: 0 Services Suspended 3 Fixed Term Services Terminated - Terminated Service: Ruxxx Xxxxer - Wood - mylxxxxxxer.com (Service ID: 14 - User ID: 4) - Terminated Service: Micxxx Xxxxlay - Silver - ms-ccsvi-uk.org (Service ID: 8 - User ID: 2) - Manual Terminate Required: Ravx Xxxxxurthy - Silver - channxxxxxxxet.co.uk (Service ID: 9 - User ID: 3 - Error: An unknown error occured) - Terminated Service: Gaxx Xxxxxy - Silver - macxxxxx.com (Service ID: 13 - User ID: 7) Email Marketer Processing Disk & Bandwidth Usage Statistics Updated Can someone help me to sort this out. I don't understand why the script is terminating anything? 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted September 20, 2012 Share Posted September 20, 2012 I have the appropriate settings to not allow auto terminate but this seems to be ignored by the script. Might be a good start to post the details of what the appropriate settings are It may a simple matter of getting another set of eyes to look over all your settings. 0 Quote Link to comment Share on other sites More sharing options...
BodgeIT Posted September 21, 2012 Author Share Posted September 21, 2012 Unless they are hidden, there are only a couple of places. 1. for in the Group which exempts them from auto termination and suspension. Not turned on. 2. There's the Automation Settings to enable auto termination. Not Turned on. 3. There's the Due date which is relevant to each account...all in the future! 4. There's an option to override Auto suspension... set for a couple but ignored by the script. As an update. I thought maybe it was because I hadn't been running the script regularly and had just activated after some time. But after restoring all the accounts and making sure on all the settings and dates and invoices etc.. I come back this morning to find it has terminated the accounts again! Just what is going on? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted September 24, 2012 WHMCS Support Manager Share Posted September 24, 2012 3 Fixed Term Services Terminated This is the clue here, you've configured your products to be fixed-term products, so they'll be terminated after the fixed term regardless. Sounds like you've unintentionally enabled the Setup > Products/Services > Products/Services > Edit > Pricing tab > Auto Terminate/Fixed Term option, as that would cause accounts to be terminated. 0 Quote Link to comment Share on other sites More sharing options...
BodgeIT Posted September 24, 2012 Author Share Posted September 24, 2012 Ok thanks...I'll have a look at that. As an alternative how could I setup the products and why is it only affecting some? 0 Quote Link to comment Share on other sites More sharing options...
BodgeIT Posted September 25, 2012 Author Share Posted September 25, 2012 Looks like you were right. Although I can't find a "Fixed Term" option, all my services are recurring(if that's what it related to?), I did have two products set to terminate 5 days after signup. I would argue blind that I didn't set those options but I'm the only one who set it all up, so I guess I have to take it on the chin.... I have now disabled this option in all services. Thanks for your help. IMHO: The much more visible option to disable auto terminate, in the Automation Settings should override the product setting or at least make a point of highlighting the potential of an overriding product setting...it would certainly be helpful. 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.