Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    11

    Default WHM Hooks help

    HI all

    I am trying to get the hooks to work but it dont seam to happen..
    Any way i created the script as per stated postwwwacct with a simple bit of code to send a email so i can see that it is run but nothing works. However the script itself does..

    Am i missing something to make the script get run or do i need to enable them somewhere.

    Any help would be appreciated..

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Snoopy View Post
    HI all

    I am trying to get the hooks to work but it dont seam to happen..
    Any way i created the script as per stated postwwwacct with a simple bit of code to send a email so i can see that it is run but nothing works. However the script itself does..

    Am i missing something to make the script get run or do i need to enable them somewhere.

    Any help would be appreciated..
    Are you using PHP or Perl (or some other language) to code this?

    Is the appropriate hashbang at the top of the file (for it to be a shell script)?

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    11

    Default

    HI

    i am using perl and i do have the perl hash at the top .

    I did a simple email script in the file postwwwacct but nothing happens

Similar Threads & Tags
Similar threads

  1. WHM function hooks
    By robagar in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 09-06-2011, 07:46 AM
  2. WHM DNS function hooks
    By robagar in forum cPanel Developers
    Replies: 1
    Last Post: 02-09-2011, 07:39 AM
  3. DNS Hooks
    By tier2 in forum cPanel Developers
    Replies: 2
    Last Post: 01-01-2011, 10:03 AM
  4. cPanel Hooks
    By mynameanu in forum cPanel Developers
    Replies: 5
    Last Post: 09-26-2010, 07:04 AM
  5. How to use hooks?
    By blargman in forum cPanel Developers
    Replies: 5
    Last Post: 11-18-2009, 10:20 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube