Postwwwacct script: automate on account creation

cPanelDavidN

Well-Known Member
Staff member
Dec 17, 2009
571
3
68
Houston, TX
cPanel Access Level
Root Administrator
Hi All,

Just wanted to point out an article I wrote over at the cPanel Integration Blog about making script hooks. Specifically, in the article I walk through making a postwwwacct script that will create a new database and new virtual database user; pair the two for the freshly created cPanel account.

Frequently Asked Scripts: "How do I automate XYZ after creating an account?" - cPanel Integration

FYI, if you're interesting in DB Mapping and how it affects API calls, you should definitely check it out (as well as the completed script for download which has a few more comments); there are some good little gems of knowledge in there.