Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2001
    Posts
    492

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

    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.
    I am an eNom ETP.
    Sign up today if you want an eNom.com domain reseller account from a reliable provider.
    * We now provide support and service to over 3250 happy resellers!

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    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.

Similar Threads & Tags
Similar threads

  1. User resource limits
    By Machochito in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-29-2010, 03:03 AM
  2. Notification email when reseller goes over resource limits.
    By MarcelB in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 03-05-2010, 01:57 AM
  3. BSD::Resource not available. Resource Limits not adjusted ?
    By approx in forum New User Questions
    Replies: 5
    Last Post: 11-17-2009, 04:29 AM
  4. Replies: 0
    Last Post: 02-28-2008, 01:43 PM
  5. Reseller resource usage limits
    By uwhost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2003, 03:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube