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.

Programmatic Bulk Deletion

Discussion in 'cPanel Developers' started by djbob2, Jul 25, 2009.

  1. djbob2

    djbob2 Well-Known Member

    Joined:
    May 14, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Does anybody know of any way to access WHM's "multikill" function programmatically? I am considering utilizing cURL in a way similar to cPanel's legacy Accounting API, but that would be difficult. If anybody has any suggestions as to a way to programatically implement bulk deletion I would be grateful.

    Also: if anybody has any experience with WHM's "multikill", please let me know what you've learned (ie. is it faster? by how much? does it take more resources?).

    Thanks,
    djbob
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You could build a shell script that loops through the accounts you wish to terminate and call /scripts/killacct for each of those accounts.
     
Loading...
Similar Threads - Programmatic Bulk Deletion
  1. Murray Trainer
    Replies:
    3
    Views:
    198

Share This Page