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

NameData TypeValue
DescriptionstringDescription 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.
Experimentalbooleantrue
UMLPackagePathstringCIM::System::Processing
Versionstring2.8.1000

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
JobOriginationstring
DescriptionstringProvides 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.
Writebooleantrue
MaxCPUTimeuint32
DescriptionstringSpecifies the maximum number of milliseconds of CPU time that this job can use in any individual run.
PUnitstringsecond * 10^-3
UnitsstringMilliSeconds
Writebooleantrue
Namestring
DescriptionstringUniquely identifies this Job within a BatchQueue and BatchService. This property can be used in the construction of the InstanceID key inherited from ConcreteJob.
MaxLenuint321024
OverridestringName
Requiredbooleantrue
Taskstring
DescriptionstringProvides the command and parameters, in string form, for the execution of this job.
TimeCompleteddatetime
DescriptionstringTime 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).
ModelCorrespondencestringCIM_BatchJob.JobState

Inherited Properties

NameData Type
Captionstring
CommunicationStatusuint16
DeleteOnCompletionboolean
Descriptionstring
DetailedStatusuint16
ElapsedTimedatetime
ElementNamestring
ErrorCodeuint16
ErrorDescriptionstring
Generationuint64
HealthStateuint16
InstallDatedatetime
InstanceIDstring
JobInParametersstring
JobOutParametersstring
JobRunTimesuint32
JobStateuint16
JobStatusstring
LocalOrUtcTimeuint16
Notifystring
OperatingStatusuint16
OtherRecoveryActionstring
Ownerstring
PercentCompleteuint16
PrimaryStatusuint16
Priorityuint32
RecoveryActionuint16
RunDaysint8
RunDayOfWeeksint8
RunMonthuint8
RunStartIntervaldatetime
ScheduledStartTimedatetime
StartTimedatetime
Statusstring
TimeBeforeRemovaldatetime
TimeOfLastStateChangedatetime
TimeSubmitteddatetime
UntilTimedatetime
OperationalStatusuint16[]
StatusDescriptionsstring[]

Class Methods

Inherited Class Methods

NameReturn Type
GetErroruint32
GetErrorsuint32
KillJobuint32
RequestStateChangeuint32