workflow.publish_hook.batch

Name of the publish hook Perl script for batch transfer of files.

Key: workflow.publish_hook.batch
Type: String
Can be set in: collection.cfg

Description

Similar to workflow.publish_hook, however the script will not be called on every file modification. Instead the script will be called sometime after the file is modified, if it still makes sense to be called.

Although this script is called with the same arguments as workflow.publish_hook, this script should not be relied upon for auditing. Since it will not be called for all modifications, and the user given to the script will not be the user that made the modification.

Default Value

There’s no publish hook by default

Examples

Call a specific publish hook script:

workflow.publish_hook.batch=$SEARCH_HOME/bin/publish-to-remote.pl

Call the provided publish hook for multiple query processor setups:

workflow.publish_hook.batch=$SEARCH_HOME/bin/publish_hook.pl