Rajesh Chauhan

Active Member
Jan 18, 2016
26
2
53
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)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 

Rajesh Chauhan

Active Member
Jan 18, 2016
26
2
53
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.