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.

quota notifications ?

Discussion in 'General Discussion' started by SupraMario, Aug 29, 2006.

  1. SupraMario

    SupraMario Member

    Joined:
    Mar 28, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys,

    having a problem with some clients, their accounts have just basically stopped working.
    unable to access emails / receive emails.

    and I later find out its because their accounts have reached the quota set per their account.

    Is there a way to have the client notified at all when they get close to their quota ???
    as this would make life easier than myself checking all the accounts quickly.

    look forwarding to hearing how to get around this,

    thanks

    Mario
     
  2. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Set a cronjob

    Go through the information below:

    "checkquota" will allow you to quickly see any user on the server that is approaching
    their quota. Run checkquota -h to view what options are available.

    --all show all users
    --help show help
    --over show only users over quota (this is the default)
    --threshold change the threshold percentage (default is 80)
    --user='user1,user2,user3..userN' ## show only these user(s)
    --quota=N group --user together and use this value as the max MB allowed

    You could use this script in a cronjob that would email you the results every X (specified)
    hours.

    :)
     
  3. SupraMario

    SupraMario Member

    Joined:
    Mar 28, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    fantastic, thanks for that

    funny how its not something that is incorporated into cpanel itself and notifies the contact of the account itself
     
Loading...

Share This Page