Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto Terminate Inactive Accounts

Discussion in 'General Discussion' started by Rajesh Chauhan, Dec 25, 2018.

  1. Rajesh Chauhan

    Rajesh Chauhan Member

    Joined:
    Jan 18, 2016
    Messages:
    23
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    We are into Free Web Hosting and want to terminate all inactive accounts to clean up the server resources on a regular basis that is a very huge task. Can anyone help me setup cronjob to terminate accounts from the server on these conditions...

    1. If Domain Name not resolving DNS within 15 Days
    2. If there are not logged in for more than 45 days in cPanel
    3. If user not getting any hit on their website for 90 days (Suspend then after 30 days terminate)
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,299
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Rajesh Chauhan,

    There are no features in cPanel & WHM that will automatically terminate an account based on those conditions, however I encourage you to vote and add feedback to the following feature request if this is something you'd like to see added to the product:

    Allow bulk termination of the cPanels based on date it was suspended

    As far as the development of a custom script to terminate accounts based on those conditions, you may want to reach out to a qualified system administrator for help developing such a script. We provide a list of system administration service providers at:

    System Administration Services | cPanel Forums

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Rajesh Chauhan

    Rajesh Chauhan Member

    Joined:
    Jan 18, 2016
    Messages:
    23
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Its been 2 years its not even considered so how can I think this going to be implemented ever
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,299
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @Rajesh Chauhan,

    Feature requests often depend on the demand for the feature. It doesn't appear there's a high demand for such a feature at this time, so you may want to go the route of contacting a system administrator to create a custom script that performs the specific action you want executed.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice