smhnaji Posted December 27, 2011 Share Posted December 27, 2011 Hello The first problem: I never want to perform any termination. I want that users be suspended after 10 days of due date passed. I'm using ver 4.5.2 I've disabled the checkbox labeled "Tick this box to enable automatic termination" in Automation Settings BUT IT DID TERMINATE some accounts after the first cron job ( php -q cron.php ). The second problem (veeeeery strange) caused by the second execution of the cron job: As you see in the attachment, registration date of an account is "17/12/2011" and next due date is "17/12/2012" BUT IT HAS BEEN TERMINATED by the cron job. What has caused the problem? Please help me ASAP. Thank you 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted December 27, 2011 Author Share Posted December 27, 2011 2nd question continued: Where should I see the reason of termination? Thank you 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 27, 2011 Share Posted December 27, 2011 (edited) Please advise the settings CURRENTLY in place If you have ticked a box, put TICKED If there is no tick, put EMPTY I never want to perform any termination. I want that users be suspended after 10 days of due date passed Setup -> Automation Settings -> Automatic Module Functions Enable Suspension Suspend Days Enable Unsuspension I've disabled the checkbox labeled "Tick this box to enable automatic termination" in Automation Settings BUT IT DID TERMINATE some accounts after the first cron job ( php -q cron.php ) Setup -> Automation Settings -> Automatic Module Functions Enable Termination Termination Days The second problem (veeeeery strange) caused by the second execution of the cron job:As you see in the attachment, registration date of an account is "17/12/2011" and next due date is "17/12/2012" BUT IT HAS BEEN TERMINATED by the cron job. That is most unusual, never seen that one before The termination had already taken place so look at the details in the text of the cronjob email to see why it performed the amended renewal date edit : Has the order been converted into an invoice? Go to the invoice that relates to this product, is is set to UNPAID or PAID? Edited December 27, 2011 by m8internet 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 27, 2011 Share Posted December 27, 2011 2nd question continued: Where should I see the reason of termination? You should find the reason in the email sent to client, but suspension would normally be performed first Once termination has been performed there is no further record required Suspension reasons are visible within WHMCS Reports -> Reports -> Product Suspensions 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted December 28, 2011 Author Share Posted December 28, 2011 Hello m8internet and thank you very much for your responses. Please advise the settings CURRENTLY in place If you have ticked a box, put TICKED If there is no tick, put EMPTY Setup -> Automation Settings -> Automatic Module Functions Enable Suspension Suspend Days Enable Unsuspension Setup -> Automation Settings -> Automatic Module Functions Enable Termination Termination Days Settings' values are listed below: Enable Suspension: CHECKED Suspend Days: 10 Enable Unsuspension: CHECKED Enable Termination: NOT CKECKED Termination Days: 30 (Does it matter when the prev value has been disabled?) That is most unusual, never seen that one before The termination had already taken place so look at the details in the text of the cronjob email to see why it performed the amended renewal date edit : Has the order been converted into an invoice? Go to the invoice that relates to this product, is is set to UNPAID or PAID? I found the problem causing this matter: I had set the "Auto Terminate/Fixed Term" to "10" for that specific product. 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 28, 2011 Share Posted December 28, 2011 I found the problem causing this matter: I had set the "Auto Terminate/Fixed Term" to "10" for that specific product. Removing that should resolve your issue, though rather bizarre to update the next renewal to 1 year later AND terminate the service As with all things in WHMCS, read the docs, and if unsure make small changes only Test at every stage 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted December 28, 2011 Author Share Posted December 28, 2011 Removing that should resolve your issue, though rather bizarre to update the next renewal to 1 year later AND terminate the service As with all things in WHMCS, read the docs, and if unsure make small changes only Test at every stage YES, you are absolutely right. Removing that should resolve all the problems for me. When I saw your msg, I checked cron job email once again and I saw that all terminated accounts where the same product as the account that I talked to you about it. They were all 100MB - Germany (the same product) Thank you very much. Now WHMCS cron job doesn't remain mysteric any more. 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted December 28, 2011 Author Share Posted December 28, 2011 Please add [RESOLVED] to subject to help future forum and google searches. Thank you 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 28, 2011 Share Posted December 28, 2011 Please add [RESOLVED] to subject to help future forum and google searches Don't seem to do that here 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.