vdsTask

Prev Next

The vdsTask table contains data for tasks that where scheduled to run at specific times.

Columns

Table:  vdsTask table columns
Column nameData typePrimary keyNullableDescription
vdsTaskIdvarchar(60)YesNoUnique task ID string.
vdsTypevarchar(255)NoNoDefines the type of task.
vdsDescriptionvarchar(255)NoNo

Description of the task, for example, report name, etc.

vdsDomainvarchar(255)NoNoDomain of the user who created the task.
vdsUserIdvarchar(255)NoNoUser name of the user who created the task.
vdsServerIdvarchar(64)NoNo

IP address of the server that has the task assigned. The field can contain an empty string which means any server.

vdsFeaturesintegerNoNo

Bit field describing the features of this task. If features are enabled, they can be modified using generic task commands.

vdsFlagsintegerNoNoScheduling flags.
vdsModeintegerNoNoDefines which server(s) should execute this task.
vdsStatusintegerNoNo

The processing status, describing the state of the task. Used for status reporting and notification.

vdsStatusContextvarchar(4096)NoYes

Serialized task status, like items processed, failed, and other data. The data is task specific.

vdsStatusMessagevarchar(1024)NoYes

Free text status message used to report the status during execution and results for finished tasks.

vdsProgressintegerNoYes

Progress of the task in the range of 0–10000. NULL if not started.

vdsStartTimetimestampNoYes

The time stamp is set by the first server that starts a task. If another server takes over the task, it will not change the time stamp.

vdsEndTimetimestampNoYes

The time stamp is regularily updated by the server that processes the task to reflect an active state (keep alive notification). If the time stamp is too old, it can be assumed that the task is not processed anymore. When a task is finished, it should be set to the finished time.

vdsContextvarchar(4096)NoNoSerialized command attribute set.
vdsScheduleintegerNoYes

Defines, if this task is scheduled. Requires the Schedule feature to be enabled.

vdsScheduleTimevarchar(16)NoYes

The task will be executed at the specified time in the server time zone. Valid if vdsSchedule is Scheduled.

vdsScheduleDatevarchar(16)NoYes

Date to execute the task. Valid if vdsSchedule is Scheduled and vdsRecurrence is None.

vdsNotifyvarchar(16)NoYesSend a notification message when the task is finished.
vdsRecurrenceintegerNoYesDefines the recurrence of the task.
vdsRecurrenceWeekdaysintegerNoYes

Bit field defining on which days of the week to execute the scheduled task if vdsSchedule is Scheduled and vdsRecurrence is Daily.

vdsRecurrenceMonthsintegerNoYes

Bit field defining the months in which to execute the scheduled task if vdsSchedule is Scheduled and vdsRecurrence is Monthly.

vdsRecurrenceMonthDayintegerNoYes

Defines the day of the month on which the task is scheduled if vdsSchedule is Scheduled and vdsRecurrence is Monthly.

vdsCreateTimetimestampNoNo

The date and time the data record was created.

vdsModifyTimetimestampNoNo

The date and time the data record was last modified.

vdsVersionintegerNoYes

The current data schema version of the data record.

Keys

Primary key: (vdsTaskId)

Foreign keys: (vdsDomain, vdsUserId) references vdsUser (vdsDomain, vdsUserId)

Indexes

Table:  vdsTask table indexes
Index nameIncluded fields
Level 0 (default)
vdstaskidxvdsTaskId