Class DistributedBackgroundJobModel
Model for distributed background jobs.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Models
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DistributedBackgroundJobModel
Properties
View SourceId
The id of the job.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsRunning
If the job is running.
Declaration
public bool IsRunning { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LastAttemptedRun
Time of last attempted run.
Declaration
public DateTime LastAttemptedRun { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
LastRun
Time of last run.
Declaration
public DateTime LastRun { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Name
Name of job.
Declaration
public required string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Period
Period of job.
Declaration
public TimeSpan Period { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |