Try OpenEdge Now
skip to main content
Configuration
Configuring Batch Programs : Batch Program properties : Batch Program Shutdown properties
 

Batch Program Shutdown properties

Table 118. Shutdown properties
Property
Description
Shutdown method
The method to stop the Batch Program.
Select from the following options:
*Shutdown script
*Terminate
If you select Terminate, OpenEdge Management looks for the Process ID (PID) of the Batch Program and stops the Batch Program. If the PID is not available, OpenEdge Management fails to stop the Batch Program.
The Terminate option works only if PID file or PID registration is used for status monitoring, or the startup program is running even after the specified timeout value and exit code is selected for status monitoring.
Shutdown script
(Optional) The path to the script to stop the Batch Program.
Shutdown script parameters
(Optional) The parameters that are to be passed to the Shutdown script.
Shutdown script timeout (seconds)
(Optional) The timeout value for the OpenEdge Management to wait for executing the Shutdown script to stop the Batch Program.
The default value is 15 seconds. If the Shutdown script is not executed within the timeout value, OpenEdge Management considers it as a failure.
Kill if still running after timeout
Terminates the Shutdown script, if running, after the specified timeout.
If this option is not selected and the Shutdown script is not terminated after the specified timeout, OpenEdge Management considers the shutdown as a failure and leaves the resource in its previous state.