Class ScheduledJobLogItem
A log entry for an executed scheduled job
Inheritance
System.Object
ScheduledJobLogItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class ScheduledJobLogItem
Constructors
ScheduledJobLogItem()
Declaration
public ScheduledJobLogItem()
Properties
CompletedUtc
The date and time the job was completed (in UTC)
Declaration
public DateTime CompletedUtc { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Duration
Gets the duration for the job execution
Declaration
public TimeSpan? Duration { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ExecutedUtc
The date and time the job was executed (in UTC)
Declaration
[Obsolete("Use CompletedUtc instead")]
public DateTime ExecutedUtc { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Message
Message returns by job
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Server
Specifies which server the job executed on
Declaration
public string Server { get; }
Property Value
Type | Description |
---|---|
System.String |
Status
Gets or sets the outcome status for the execution
Declaration
public ScheduledJobExecutionStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ScheduledJobExecutionStatus |
Succeeded
If the scheduled job completed successfully
Declaration
[Obsolete("Use Status instead")]
public bool Succeeded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Trigger
Gets the trigger that caused the job to execute
Declaration
public ScheduledJobTrigger Trigger { get; }
Property Value
Type | Description |
---|---|
ScheduledJobTrigger |