ScheduledHandler Properties |
The ScheduledHandler type exposes the following members.
Name | Description | |
---|---|---|
Application |
Returns the application object
| |
IsServiceStopped |
Returns true if the service has stopped. Services should check the value of this
property to ensure smooth shutdown of the service.
| |
Properties |
Returns the object's configuration properties
| |
RunDays |
Returns the days that this task should run
| |
TaskID |
The ID of the task as used in xmt_scheduled_tasks and xot_task_history.
| |
TaskState |
The task state data, from xot_task_history.task_state. This state belongs to
the task itself and can be used by the task as it sees fit. The latest value of the
state is provided to the task, when run, via this property, and any updated value is
retrieved from this property and persisted back to xot_task_history.task_state
when the tasks completes.
For example, this state could be used to store the sequence number of the last item processed so that on the next iteration of the task processing could begin from the next sequence number. |