SCR_LOOPCHK_TIME

Systemwide variable that defines the time period in seconds at which the script is interrupted and an endless loop is assumed. This parameter allows you to avoid endless loops.

  • Description: This setting affects scripts whose generation takes longer than specified here. In such cases, script generation repeatedly pauses to avoid unnecessary Automation Engine loads.

    The subsequent waiting time is always 1 second at the start. This time is doubled after every interruption. The longest waiting time is 128 seconds. After this value has been reached, the waiting time is always 128. It is no longer doubled.

    Example SCR_LOOPCHK_TIME 3

    Intervals for script generation:

    • Script starts

      Generation starts

    • After 3 seconds

      Generation pauses

    • Waiting time: 1 second

    • Script continues

      Generation continues

    • After further 3 seconds

      Generation pauses

    • Waiting time: 2 seconds

    • Script continues

      Generation continues

    • After further 3 seconds

      Generation pauses

    • Waiting time: 4 seconds

      and so on.

    Script generation always stops every 5 seconds, regardless of the value specified here. Doing so ensures that the script can be canceled without blocking other tasks. Setting a higher value for this parameter affects the waiting time interval.

  • Allowed values: 1 to 32767

  • Default value: 5

  • Restart required: No

See also:

UC_SYSTEM_SETTINGS - Systemwide Settings