2022 April Release

Struct COOAT@1.1001:ATTaskListSettings Permanent link for this heading

Struct to define the settings for the list of automated tasks.

Additional Information

Properties Permanent link for this heading

Type

Property

Name

integer

atmaxruntime

Maximum Run Time (Min.)

integer

atmaxthreads

Maximum Number of Threads

integer

atrestartafter

Restart After (Min.)

integer

atwaitlock

Wait for Lock (Sec.)

Properties Permanent link for this heading


Maximum Run Time (Min.) (COOAT@1.1001:atmaxruntime) Permanent link for this heading

Defines the maximum runtime of the task in minutes. If the task is not completed within the given period of time, the priority of the thread executing this task is decreased (BELOW_NORMAL). In this case the task status is changed to disabled. The status must be set to waiting manually to execute the task. In case of exceeding the specified maximum runtime a new thread is assigned to the resource pool concerned. Thus the resource still possesses the configured number of threads. This property value overrides the setting of the task list. If this property has no value, the setting of the task list is used.

unsigned integer COOAT@1.1001:atmaxruntime

Additional Information


Maximum Number of Threads (COOAT@1.1001:atmaxthreads) Permanent link for this heading

Defines the maximum number of threads that are reserved for executing automated tasks. If only one thread is configured, the tasks are executed sequentially.

unsigned integer COOAT@1.1001:atmaxthreads not null

Additional Information


Restart After (Min.) (COOAT@1.1001:atrestartafter) Permanent link for this heading

Defines the number of minutes, after which the service is restarted.

unsigned integer COOAT@1.1001:atrestartafter

Additional Information


Wait for Lock (Sec.) (COOAT@1.1001:atwaitlock) Permanent link for this heading

Defines the number of seconds the method ScheduleLocal waits, if the object is locked. If a new task is inserted into the task list, the task list must be locked. If a task wants to create another task, and the task list is locked, the system tries to lock the task list object repeatedly. Use this property to define how long the service should try to set a lock before generating an error. This behavior applies only when a new task is created by another task.

unsigned integer COOAT@1.1001:atwaitlock

Additional Information