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.

WHM Hooks help

Discussion in 'General Discussion' started by Snoopy, Nov 3, 2007.

  1. Snoopy

    Snoopy Member

    Joined:
    Oct 25, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. Snoopy

    Snoopy Member

    Joined:
    Oct 25, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page