The hook Script
Valid for versions 82 through the latest version
Last modified: May 13, 2020
/usr/local/cpanel/scripts/hook script executes standardized hooks. Normally, only the system would execute these.
Run the script
To run this script on the command line, use the following format:
For more information about each event, read our Guide to Standardized Hooks - Hookable Events documentation.
/usr/local/cpanel/scripts/hook script accepts the following options:
||Required — The hook’s category.||
||Required — The event that triggers the hook.||
||Required — The stage of the event.||