Quantcast
Viewing all articles
Browse latest Browse all 1056

How to interpret Scheduler Task Status Codes and MAC_STATUS for a task

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:

 

CodeDescription
-1No Change
0Waiting
1Working
2Done (Deprecate)
3Failed (See NT Event Viewer)
4Failed (Scheduler Service Stopped)
5Success
6Partial Success (Not all devices processed task)
7Failed (All machines failed)
8Unknown value returned
9Hold (New Task)
10

Do Now (Begins task)

11Failed (Do not retry)
12

Pull Available (Policy Tasks)

13Invalid
14Failed (Task Cancelled)
15

Failed (Task Handler reported an exception)

16ASync 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:

 

CodeDescription
-1No Change
0Waiting
1Working
2Done
3Failed
4Active
5Failed (Do not retry)
6Failed (Invalid IP)
7Failed (Unreachable)
8Failed (Task Cancelled)
9Busy
10Delayed
11Failed (Retrying)
12Async Execution
13Timezone 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.

 

CodeDescription
0Unknown
1Working
2Downloading
3Installing
4Success
5Failed
6Cancelled
7Deferred
8Failed_Exception
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>