Class Job
Definition of a Job / Task which is run on the server. When Jobs run, they create a JobLog
public class Job : ModelBase, IAuditable
- Inheritance
-
Job
- Implements
- Inherited Members
Properties
EndDate
When the job is to be run the last time. See also StartDate.
public DateTime? EndDate { get; set; }
Property Value
Frequency
Unit used in how often the job should run - expects a character like m
(minutes), H
(hours) etc.
public string Frequency { get; set; }
Property Value
Interval
How often the Job should run - see also Frequency
public int Interval { get; set; }
Property Value
IsEnabled
Determines if the Job is activated / enabled.
public bool IsEnabled { get; set; }
Property Value
IsExecuting
If the Job is executing right now.
public bool IsExecuting { get; set; }
Property Value
IsStarted
If the Job has ever started running
public bool IsStarted { get; set; }
Property Value
JobId
Internal ID
public int JobId { get; set; }
Property Value
JobType
What kind of Job this is
public string JobType { get; set; }
Property Value
Name
Name for simple identification
public string Name { get; set; }
Property Value
NextExecution
When the Job will run again next time.
public DateTime? NextExecution { get; set; }
Property Value
RetentionHistory
Todo: todoc - unsure what this does
public int RetentionHistory { get; set; }
Property Value
StartDate
When the Job is to be run the first time. See also EndDate.
public DateTime? StartDate { get; set; }