The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script to terminate all suspended accounts

Discussion in 'General Discussion' started by bargainhost, Mar 28, 2005.

  1. bargainhost

    bargainhost Member

    Joined:
    Jan 6, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I wrote this script to terminate multiple suspended accounts, ideal if you have hundreds of suspended accounts you need terminated. Saves time as doing this manually using WHM would take hours, script takes usernames from list in /var/cpanel/suspended/. Be careful you dont delete accounts that have been suspended by bandwidth usage, you could enter a line in script to avoid deleting bandwidth suspended accounts:

     
  2. DevilSun

    DevilSun Member

    Joined:
    Apr 26, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Question

    I have one question.
    For example i have for about 150 accounts that were suspended for different reasons (for non payment, cancellation etc). Among them exists resselers account.

    How to terminate accounts (non-resellers and subresellers accounts) that were suspended for "cancellation" for about 60 days ago.
    Does anybody have similar script?

    Also could the holder of such script share it with me? :)

    My email address is Devilsun@mail.ru or admin@devilsun.org.ua

    Will be thankful!!!
     
Loading...

Share This Page