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.

Disk quota report script?

Discussion in 'General Discussion' started by Wallaby, Dec 22, 2005.

  1. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    I'm after a script that will produce a report like this:

    Code:
    Domain/user		Used	Quota	% Used
    domain1.com [user1]	111	120	92.5 
    domain43.com [user43]	110	120	91.7 
    aaaaaa.co.uk [user89]	221	250	88.4
    and email it to me once a day.

    By getting the HTML from WHM's quota report page and manipulating it a bit, I can produce a report like the above. I could write a little Windows app to do this manipulation, but it strikes me as a bit silly since the Linux system *surely* must be able to do something like this fairly easily?

    Anyone any bright ideas?
     
  2. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    I may well have found just what I need: see quotareport at

    http://html.conclase.net/cp/scripts/

    A quick test seems to indicate it does the job. Have set it up on a cron for one server to see what happens.
     
Loading...

Share This Page