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.

Folder Limits

Discussion in 'General Discussion' started by Finkinstein, Jun 11, 2003.

  1. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Is there a way to limit the space and bandwidth on a folder? Such as domain.com/folder/ ???

    I am REALLY sorry if this has been asked, I tried searching for it but nothing.

    cPanel.net Support Ticket Number:
     
  2. pinkrain

    pinkrain Registered

    Joined:
    Jan 5, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I need to know this too. This thread is probably old, but oh well. Can someone please help?
     
  3. cronjob78

    cronjob78 Member

    Joined:
    Feb 24, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Would like to know how to do this too! From web searches it seems running a unix script as a cronjob is the way to do it. When a folder exceeds the limit the script could send you an email to let you know. If I find a script I'll let yaw know.
     
    #3 cronjob78, Jan 25, 2005
    Last edited: Jan 25, 2005
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Not something I've ever seen on Linux (though prepared to be proved wrong).

    This is the second time today I've yearned for my days with Vax VMS - oh for a friendly OS that allows you to do such things ;)
     
  5. cronjob78

    cronjob78 Member

    Joined:
    Feb 24, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Instead I have just written a small shell script and put it on Cron.
    At the moment it just emails to me any folders bigger than X MB using the du -hs command.

    It'll have to do for now - I'll just ban users who infringe the limits etc.
     
Loading...

Share This Page