Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    737
    Likes Received:
    4
    Trophy Points:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    Sure this can be done, many billing programs do this already. You can either get a billing program to do this or use the cpanel api or direct links.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice