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.

mass account creation script - anyone?

Discussion in 'General Discussion' started by Harryhood, Jun 16, 2006.

  1. Harryhood

    Harryhood Well-Known Member

    Joined:
    Jun 3, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Gamehenge
    I'm wondering if anyone has or can create (for a fee of course) a perl script that can parse a text file containing domain names and create cpanel accounts for each domain in the script.

    I have been asked to set-up several hundred separate domain accounts on a dedicated server and would love to have a script that could do what I mentioned above for creating all these accounts.
     
  2. tm2004

    tm2004 Member

    Joined:
    Mar 1, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I'm in the same boat.. Was searching forums and can not find anything.. . I have 87 domains that I need to setup under a reseller.. and was hoping to do it via script..

    before I loose any more brain cells.. No billing issues for me.. I just need to do via script what I do in WHM to create a new account..

    Anyone figures it out?
     
  3. Icarion

    Icarion Registered

    Joined:
    Aug 11, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Me too!

    Joined board thinking someone might have one?

     
  4. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    new or existing accounts? In other words, are these blank accounts, or moving existing content?
     
  5. tm2004

    tm2004 Member

    Joined:
    Mar 1, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hey, thanks for the quick reply.. for me it's new accounts. Nice and simple - well at least to start... :D
     
  6. tm2004

    tm2004 Member

    Joined:
    Mar 1, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    OK, after a night with Google and some luck, here is what I came up with:

    Great Free Script Here - works just like he says:

    Paid Scripts that do some pretty cool stuff:

    If anyone has any experience with any of the paid ones, would welcome you thoughts.. I think I'm going to try to customize the free script to learn something..

    Remember, none of these address billing or payment.. I was looking for some easy ways to add many accounts for one Client and do the billing myself..
     
  7. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    We utilize something similiar to what you are asking at our hosting service
    which could probably be adapted to your needs ....

    Basically ...

    All new customer applications go into a MySQL database and a custom cron job
    script written in PHP (CLI) wakes up every 5 minutes and checks the database
    for new unprocessed entries, creates the web hosting accounts, and sends
    out welcome letters.

    Sounds like you just need the basic cron code and just re-write the part the
    reads from a MySQL database to instead read from a text file instead.

    Contact me, might be able to help with that.
     
Loading...

Share This Page