workflow.publish_hook (collection.cfg setting)
This options specifies the path to the Perl script to execute when a file is edited or deleted in the Admin UI or Admin API.
When a file is edited, the script will be called with the following arguments:
Absolute path to the source file that was edited
dummy argument for backwards compatibility
A dummy argument for backwards compatibility in the form:
REMOTE<OS specific file seperator><file name>
This can be ignored.
Publication message containing the user id and host on which the publication occurs.
When a file is deleted the script will be called with:
To specify that it's a delete operation
Absolute path to the file being deleted
Publication message containing the user id and host on which the deletion occurs.
There's no publish hook by default
Call a specific publish hook script:
Call the provided publish hook for multiple query processor setups: