Question
You are using the Hooks system, and wish to test one directly. Is it possible to run a Hook directly on the server for testing purposes?
Answer
Yes.
Use the instructions in the link above to run the Hook with its event directly. This will need to be done on command-line.
This article is suggested to be used in conjunction with the following:
How to Setup Standardized Hooks with BASH in cPanel & WHM