Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    May 2005
    Posts
    7

    Default suspend accounts using no bandwidth?

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Accounts over quota | suspend | non-suspend
    By eagle in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-25-2008, 12:55 PM
  2. Don't want to suspend bandwidth exceeders - but it's doing it anyway
    By spaceman in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-07-2005, 04:27 AM
  3. How TO: Suspend Accounts when Accounts over their Quota ?
    By Jedia in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-08-2004, 12:22 PM
  4. Question: User bandwidth exceedeed, but do not suspend the account
    By jcn in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-24-2003, 08:32 AM
  5. How to suspend an website when exceeding bandwidth?
    By ptez in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-03-2003, 01:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube