Skip to main content

Bulk remove unused account packages

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  I don't have a bulk removal option.  The closest help I would have would be these commands here that show you what is in use:

    https://support.cpanel.net/hc/en-us/articles/4405783657495-How-to-get-a-list-of-packages-plans-used-so-it-can-be-compared-with-existing-packages-created

    0
  • ITHKBO

    Unfortunately that does not show any packages with 0 users. It has to have 1 users at minimum it seems to get printed?

    I just checked what would happen when I set a user on a plan that has not been used yet while setting the old plan to no users. It is not recognized by command 1 but it is by command 2

    Than I ran both commands and compared total line entries  the first command returns 49 lines and the second 60 on my end

    I can resolve it on my end now though with those two scripts by simple cross reference in notepad++ on two tabs. But can you verify it on your end if it indeed does not return packages that are not used? Because it might be a command that is either not correct or no longer functioning as intended.

    0
  • cPRex Jurassic Moderator

    Correct - this is designed to show packages in use.

    0
  • ITHKBO

    Than I will just print the two results and do a manual cross check.
    Thank you for your help no further questions.

    0
  • cPRex Jurassic Moderator

    You're very welcome!

    0

Please sign in to leave a comment.