# Class CIM_BatchJob
extends CIM_ConcreteJob

Description of a batch request that is either waiting on a BatchQueue to run, in the process of running, or that has previously run. Jobs that are completed and not recurring will NOT be associated with a BatchQueue. Jobs that are completed but recurring WILL be associated with a BatchQueue, since they are waiting to run given the scheduling information in the associated JobSettingData instance.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_Job
|
+--CIM_ConcreteJob
|
+--CIM_BatchJob

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | Description of a batch request that is either waiting on a BatchQueue to run, in the process of running, or that has previously run. Jobs that are completed and not recurring will NOT be associated with a BatchQueue. Jobs that are completed but recurring WILL be associated with a BatchQueue, since they are waiting to run given the scheduling information in the associated JobSettingData instance.
Experimental | boolean | true
UMLPackagePath | string | CIM::System::Processing
Version | string | 2.8.1000

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
JobOrigination | string |
Description | string | Provides additional information, beyond Job Owner inherited from CIM_Job, to identify the origins of the BatchJob. This property could include information such as the System, application or Process that created the BatchJob.
Write | boolean | true
MaxCPUTime | uint32 |
Description | string | Specifies the maximum number of milliseconds of CPU time that this job can use in any individual run.
PUnit | string | second * 10^-3
Units | string | MilliSeconds
Write | boolean | true
Name | string |
Description | string | Uniquely identifies this Job within a BatchQueue and BatchService. This property can be used in the construction of the InstanceID key inherited from ConcreteJob.
MaxLen | uint32 | 1024
Override | string | Name
Required | boolean | true
Task | string |
Description | string | Provides the command and parameters, in string form, for the execution of this job.
TimeCompleted | datetime |
Description | string | Time when this BatchJob was completed. This value is only valid if the inherited JobState property has been set to "Completed" (value=7), "Terminated" (value=8), or "Killed" (value=9).
ModelCorrespondence | string | CIM_BatchJob.JobState

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
DeleteOnCompletion | boolean | CIM_ConcreteJob
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
ElapsedTime | datetime | CIM_Job
ElementName | string | CIM_ManagedElement
ErrorCode | uint16 | CIM_Job
ErrorDescription | string | CIM_Job
Generation | uint64 | CIM_ManagedElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ConcreteJob
JobInParameters | string | CIM_ConcreteJob
JobOutParameters | string | CIM_ConcreteJob
JobRunTimes | uint32 | CIM_Job
JobState | uint16 | CIM_ConcreteJob
JobStatus | string | CIM_Job
LocalOrUtcTime | uint16 | CIM_Job
MethodName | string | CIM_ConcreteJob
Notify | string | CIM_Job
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherRecoveryAction | string | CIM_Job
Owner | string | CIM_Job
PercentComplete | uint16 | CIM_Job
PrimaryStatus | uint16 | CIM_ManagedSystemElement
Priority | uint32 | CIM_Job
RecoveryAction | uint16 | CIM_Job
RunDay | sint8 | CIM_Job
RunDayOfWeek | sint8 | CIM_Job
RunMonth | uint8 | CIM_Job
RunStartInterval | datetime | CIM_Job
ScheduledStartTime | datetime | CIM_Job
StartTime | datetime | CIM_Job
Status | string | CIM_ManagedSystemElement
TimeBeforeRemoval | datetime | CIM_ConcreteJob
TimeOfLastStateChange | datetime | CIM_ConcreteJob
TimeSubmitted | datetime | CIM_Job
UntilTime | datetime | CIM_Job
OperationalStatus | uint16[] | CIM_ManagedSystemElement
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
GetError | uint32 | CIM_ConcreteJob
GetErrors | uint32 | CIM_ConcreteJob
KillJob | uint32 | CIM_Job
RequestStateChange | uint32 | CIM_ConcreteJob
ResumeWithAction | uint32 | CIM_ConcreteJob
ResumeWithInput | uint32 | CIM_ConcreteJob