Scheduler task status codes
The LD_TASK table inside the LDMS database contains a TASK_STATUS column whose values are represent the status for each task.
Below are the code definitions for the TASK_STATUS column:
Code | Description |
---|---|
-1 | No Change |
0 | Waiting |
1 | Working |
2 | Done (Deprecate) |
3 | Failed (See NT Event Viewer) |
4 | Failed (Scheduler Service Stopped) |
5 | Success |
6 | Partial Success (Not all devices processed task) |
7 | Failed (All machines failed) |
8 | Unknown value returned |
9 | Hold (New Task) |
10 | Do Now (Begins task) |
11 | Failed (Do not retry) |
12 | Pull Available (Policy Tasks) |
13 | Invalid |
14 | Failed (Task Cancelled) |
15 | Failed (Task Handler reported an exception) |
16 | ASync Execution (Push Tasks) |
Machine Status
The LD_TASK_MACHINE table inside the LDMS database contains a MAC_STATUS column whose values represent the status for each machine targeted in a task.
Below are the code definitions for the MAC_STATUS column:
Code | Description |
---|---|
-1 | No Change |
0 | Waiting |
1 | Working |
2 | Done |
3 | Failed |
4 | Active |
5 | Failed (Do not retry) |
6 | Failed (Invalid IP) |
7 | Failed (Unreachable) |
8 | Failed (Task Cancelled) |
9 | Busy |
10 | Delayed |
11 | Failed (Retrying) |
12 | Async Execution |
13 | Timezone Waiting |
Policy Status
Whenever a task is run on a client we have a policy .XML and .STAT file that PolicySync.exe, SDClient, and Vulscan.exe use to know what the current status of a task is.
You can see these statuses on the client in the C:\Programdata\LANDesk\Policies folder. You will two files for each task, a .XML with task inf and a .STAT with results of the last time the task ran. Inside the .STAT is the <Status> value.
Code | Description |
---|---|
0 | Unknown |
1 | Working |
2 | Downloading |
3 | Installing |
4 | Success |
5 | Failed |
6 | Cancelled |
7 | Deferred |
8 | Failed_Exception |
Clik here to view.