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!

Updating package limits in bulk

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

  1. JawadArshad

    JawadArshad Well-Known Member

    Apr 8, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider

    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.

    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 JawadArshad, Aug 2, 2013
    Last edited: Aug 2, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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