Service task (svctask)
Fields
{
"id": uuid,
"name": str,
"isenabled": intbool,
"svcscriptcode": str,
"sitemode": str,
"sites": array<str>,
"isregular": intbool,
"overlap": intbool,
"intervalsec": int,
"dtstart": date,
"dtstop": date,
"schedule": str,
"periods": array<object>,
"opts": {
"title": str,
"comment": str
},
"ext": {
"ct": date,
"lwt": date
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Title |
Field: |
Task switch |
Field: |
Service script code |
Field: |
|
Field: |
List of sites where the task can be run. |
Field: |
Run mode. |
Field: |
Multiple instances of the task can be executed simultaneously. |
Field: |
Timer task start interval in seconds. |
Field: |
The date and time of the start of the activity period of a regular task, or the start of a single-executable task. |
Field: |
The date and time when the activity period of a regular task ends, or when a once-executed task goes out of relevance. |
Field: |
Field: |
Activity interval during the week. |
Field: |
Field: |
|
Arbitrary header |
Field: |
Arbitrary comment |
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Time of last modification of the object |
Field: |
Mode of service at the sites
Value | Description |
---|---|
|
Performing the task on all sites where the domain is served |
|
Performing the task on any site where the domain is served |
|
Performing the task on all sites listed in the sites field if the domain is served there |
|
Executing the task on one of the sites listed in the sites field if the domain is served there |
|
Performing the task on the first site where the domain is served |
Work schedule
Value | Description |
---|---|
|
A service task can always be started |
|
A service task can only be started during working hours |
|
A service task can only be started after hours |
|
The service task defines the individual availability schedule in the field |
Weekly schedule list item
Field | Value | Description |
---|---|---|
|
|
Day of the week of the start of the segment ( |
|
|
Day of the week of the end of the segment ( |
|
|
Intraday segment start time in minutes |
|
|
Intraday segment end time in minutes |
See also
Logical roles
-
svc runs and maintains service scripts.