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 of the Console, select Diagnostics > Diagnostic
Modules.
In the
Diagnostic System Modules table, select the name
of the diagnostic system module containing the script action you want
to configure.
Select Configuration > Policies and Actions >
Actions.
In the Actions table, select the script action you want to
configure.
On the Script Properties page:
in Working Directory, enter the
working directory location for the child process.
In Path to Script, enter the full path
to the location of the script you want to execute. This field is
required and should be a relative path to
DOMAIN_HOME/bin/scripts. If you enter an
absolute path, WebLogic Server rejects it with an error.
In Environment Variables, enter a map
of the environment variables to set for the child process.
In Parameters, enter an array of
ordered command-line arguments to the target script.