SetTimeOut

KCM Core adjusts the timeout interval for the current job. The remainder of the job is subject to the new timeout parameters and is terminated if the timeout interval is exceeded.

Syntax

SetTimeOut
   TimeOut(<number>)
   GracePeriod(<number>);

Parameters

  • TimeOut: Required. The timeout interval in seconds allowed for the job to complete. If this parameter is set to 0, the timeout interval is disabled and the job is allowed to run indefinitely.
  • GracePeriod: Optional. The amount of time in seconds the job is allowed for termination of the active statement and possible error recovery. When this additional time is exceeded, the KCM Document Processor is forcibly restarted. If this parameter is set to 0, the KCM Document Processor is restarted immediately when the timeout interval expires.

Remarks

The default timeout intervals for jobs are configured in KCM Core Administrator. This statement allows jobs more detailed control over their behavior.