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.

Possible to change reseller disk/bw resource limits with script?

Discussion in 'General Discussion' started by electric, Jun 14, 2009.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    Hello,

    Is this possible? Specifically, I would like to do change the reseller resource usage limits depending on what cpanel package they are assigned.

    So for example:

    Get list of resellers.
    For each reseller:

    - Get plan name.
    - If "cpanel package x", then change disk space limt to y and bandwidth to z.
    - If "cpanel package y", then...​

    Is something like this possible? I realize I would need to manually edit the script to specify the desired disk/bw limits for each package.

    Thanks for any help.
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page