Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Jobs.JobScheduler Class Reference

Module that manages the scheduling and execution of jobs. More...

Inheritance diagram for Waher.Jobs.JobScheduler:
Waher.Runtime.Inventory.IModule

Public Member Functions

 JobScheduler ()
 Module that manages the scheduling and execution of jobs. More...
 
async Task Start ()
 Starts the module. More...
 
Task Stop ()
 Stops the module. More...
 

Static Public Member Functions

static async Task Schedule (Job Job, bool OnlyIfDifferent)
 Checks the schedule of a job. More...
 
static async Task< bool > Remove (Job Job)
 Removes any scheduled activity for the job. More...
 

Properties

static Scheduler Scheduler [get]
 Scheduler used to schedule jobs. More...
 

Detailed Description

Module that manages the scheduling and execution of jobs.

Definition at line 17 of file JobScheduler.cs.

Constructor & Destructor Documentation

◆ JobScheduler()

Waher.Jobs.JobScheduler.JobScheduler ( )

Module that manages the scheduling and execution of jobs.

Definition at line 25 of file JobScheduler.cs.

Member Function Documentation

◆ Remove()

static async Task< bool > Waher.Jobs.JobScheduler.Remove ( Job  Job)
static

Removes any scheduled activity for the job.

Parameters
JobJob
Returns
If a scheduled event was found and removed.

Definition at line 249 of file JobScheduler.cs.

◆ Schedule()

static async Task Waher.Jobs.JobScheduler.Schedule ( Job  Job,
bool  OnlyIfDifferent 
)
static

Checks the schedule of a job.

Parameters
JobJob
OnlyIfDifferentReschedule only if parameters different.

Definition at line 75 of file JobScheduler.cs.

◆ Start()

async Task Waher.Jobs.JobScheduler.Start ( )

Starts the module.

Implements Waher.Runtime.Inventory.IModule.

Definition at line 37 of file JobScheduler.cs.

◆ Stop()

Task Waher.Jobs.JobScheduler.Stop ( )

Stops the module.

Implements Waher.Runtime.Inventory.IModule.

Definition at line 60 of file JobScheduler.cs.

Property Documentation

◆ Scheduler

Scheduler Waher.Jobs.JobScheduler.Scheduler
staticget

Scheduler used to schedule jobs.

Definition at line 32 of file JobScheduler.cs.


The documentation for this class was generated from the following file: