2022 April Release

Struct COOAT@1.1001:ATResourceList Permanent link for this heading

Additional Information

Properties Permanent link for this heading

Type

Property

Name

integer

atmaxruntime

Maximum Run Time (Min.)

integer

atmaxthreads

Maximum Number of Threads

Object

atresource

Resource

integer

atrestartafter

Restart After (Min.)

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


Resource (COOAT@1.1001:atresource) Permanent link for this heading

Defines the resource object that defines the thread pool used for the task. Thread pools are used to distribute tasks to several queues. If no resource is specified, the task is added to the standard queue. If you specify a resource that is not yet in the resource list of the task list object, a new resource is created automatically. The new resource uses the same values for the maximum runtime and the maximum number of threads as the standard queue.

Object COOAT@1.1001:atresource

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