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.

Quick question about /scripts/postwwwacct hook

Discussion in 'cPanel Developers' started by vimalkumar_k, Dec 10, 2010.

  1. vimalkumar_k

    vimalkumar_k Member

    Joined:
    Feb 24, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I must apologize I did not get any time to check it myself, so please consider this a quick yes or no question..

    My question is :

    if I create a hook for /scripts/postwwwacct, I assume it will only work when creating a new account via WHM? Does this hook also work if I use shell (say, restore an account - /scripts/restorepkg)

    Thank you
     
  2. vimalkumar_k

    vimalkumar_k Member

    Joined:
    Feb 24, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    *bump*

    Anyone??
     
  3. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi vimalkumar_k,

    WHM Account Creation: YES
    WHM Restore Backup: YES
    /scripts/wwwacct: YES
    /scripts/restorepkg: YES
    XML-API::createacct: YES
    XML-API::restoreaccount: YES
    (note, restoreaccount via XML-API, documented here, is only available in 11.28+)

    Regards,
    -DavidN
     
Loading...

Share This Page