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.

Updating package limits in bulk

Discussion in 'General Discussion' started by JawadArshad, Aug 2, 2013.

  1. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Hello,

    On older versions, cPanel did not update package limits for existing accounts upon editing a package but it seems this has been added at least cPanel 11.32 onwards per this thread below.

    http://forums.cpanel.net/f42/park-s...add-any-more-than-0-addon-domains-272341.html

    However, we would have to log into WHM edit package and hit 'save changes' for this to apply. This is impractical if you have hundreds of servers. We could download updated package files to /var/cpanel/packages but can any cPanel staff or a member link me to the script or call that would update package limits for existing accounts, i.e. do on command line what 'save changes' does in WHM. I think it would be too wishful to think cPanel automatically syncs package changes periodically.
     
    #1 JawadArshad, Aug 2, 2013
    Last edited: Aug 2, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Editing a package will cause all accounts using that package to be updated to the new values defined in the package. You can utilize the EditPkg API function to edit a package over the command line:

    EditPackage - cPanel API

    Thank you.
     
Loading...

Share This Page