Table of Contents

Class JobRun

Namespace
Integrations.Infrastructure.Jobs
Assembly
Integrations.Infrastructure.dll

When a scheduled job last ran, shared by every replica. The scheduler only starts a job when this says it is due, so N worker replicas still run each job once per interval (or once a day at its RunAt).

public sealed class JobRun
Inheritance
JobRun
Inherited Members

Properties

LastDurationMs

Duration of the last run, in milliseconds.

public long? LastDurationMs { get; set; }

Property Value

long?

LastError

Error of the last failed run (cleared by a success).

public string? LastError { get; set; }

Property Value

string

LastFailedAt

When the last failed run finished.

public DateTimeOffset? LastFailedAt { get; set; }

Property Value

DateTimeOffset?

LastStartedAt

When the last run started.

public DateTimeOffset? LastStartedAt { get; set; }

Property Value

DateTimeOffset?

LastSucceededAt

When the last successful run finished.

public DateTimeOffset? LastSucceededAt { get; set; }

Property Value

DateTimeOffset?

Name

Job name (primary key).

public string Name { get; init; }

Property Value

string