mass account creation script - anyone?

Harryhood

Well-Known Member
Jun 3, 2003
57
0
156
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.
 

tm2004

Member
Mar 1, 2005
23
0
151
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?
 

Icarion

Registered
Aug 11, 2006
1
0
151
Me too!

Joined board thinking someone might have one?

tm2004 said:
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?
 

Lyttek

Well-Known Member
Jan 2, 2004
775
5
168
new or existing accounts? In other words, are these blank accounts, or moving existing content?
 

tm2004

Member
Mar 1, 2005
23
0
151
Hey, thanks for the quick reply.. for me it's new accounts. Nice and simple - well at least to start... :D
 

tm2004

Member
Mar 1, 2005
23
0
151
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..
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
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.