Table of Contents

Class ScheduledJob

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

Represents a scheduled job for simulation.

public class ScheduledJob
Inheritance
ScheduledJob
Inherited Members

Properties

CreatedTime

The time the job was created.

public long CreatedTime { get; set; }

Property Value

long

RoutineRevision

Routine revision info.

public SimulatorRoutineRevisionInfo RoutineRevision { get; set; }

Property Value

SimulatorRoutineRevisionInfo

Schedule

The schedule for the job.

public CrontabSchedule Schedule { get; set; }

Property Value

CrontabSchedule

Scheduled

Whether the job was started on the scheduler or not.

public bool Scheduled { get; set; }

Property Value

bool

Task

The Task of the scheduled job.

public Task Task { get; set; }

Property Value

Task

TokenSource

The token source for the job, will be used to cancel it.

public CancellationTokenSource TokenSource { get; set; }

Property Value

CancellationTokenSource