Feature Requests
Share ideas, discuss and vote on requests from other users in community
 
This object is in archive! 

Make setting for automatically delete expired or moved domains

jeffer shared this idea 4 years ago
Under Consideration

I manually have to remove expired domains in whmcs since it is not possible to remove these automatically.

My domain sync gets more and more domains athat are not in my account and therefor it would be very usefull to delete expired or moved domains after some time.

A mass delete function as here https://requests.whmcs.com/responses/mass-delete-expired-domain-or-status would also be an option but automatically would be even better.

Comments (6)

photo
1

3 years later. I hope this basic function can get implemented.

photo
1

We wrote a script to do it. I’ll share it on here tomorrow. It’ll run daily with the cron.

photo
1

I just got a notice that this comment was posted, altho it seems to be posted 3 weeks ago.

Sounds absolutely great to me!

I would really like to get a copy of the script. Please let me know when it's finished,

photo
photo
1

yeah it took 3 weeks to get approved.

See attached. upload it to /includes/hooks/

its set to delete domains 90 days after expiry date you can edit this by modifying line 9 on the file. this will execute when the daily cron runs in whmcs.

photo
1

Great job! Thanks alott for this!

photo