To configure pre-processor
script settings for a script interceptor:
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
In the left
pane, expand Diagnostics and select
Interceptors.
Select the Script Interceptors page.
In the Script Interceptors table, select the script interceptor
you want to configure.
Select Pre-Processor.
On the Pre-Processor page, do the
following:
In Script Path, specify the path to
the script you want to execute. You must specify at least one
script, pre-processor or post-processor, for a script
interceptor.
In Working Directory, enter the
working directory location which will be used to run the
script.
In Timeout, enter the timeout interval
(in seconds).
In Script Environment, specify the
list of properties that are used to pass data to the script. For
example: ENV_KEY_1=value. Enter each
property=value pair on a separate line.
In Script Arguments, specify the list
of arguments that are passed to the script. Enter each argument on
a separate field.
In Error Handler Script, specify the
path to the error handler script. This script is executed in case
an error occurs while executing the main script. Note that the
error handler script is executed using the same arguments and
environment properties as the command script.
In Number of Retries, specify how many
times the script should attempt to re-execute in case of
failure.
In Retry Delay (in milliseconds),
specify the time period, in milliseconds, to wait before trying to
execute a failed script again.
Select Ignore Failures if failures
executing the main script should be ignored.