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.

suspend accounts using no bandwidth?

Discussion in 'General Discussion' started by vengefuldeath87, May 24, 2008.

  1. vengefuldeath87

    Joined:
    May 19, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to automatically suspend all accounts which have used 0 bandwidth in the current month. i want to clean up accounts on serveral servers, and this would be the fastest way to do that for me.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You could use a script that parses the results of the showbw function of the XML-API and anyone using 0 bytes of bandwidth, suspend them using the appropriate XML-API call.
     
Loading...

Share This Page