C# Class UlteriusServer.Api.Services.LocalSystem.Daemons.CronDaemon

Inheritance: ICronDaemon
Mostra file Open project: Ulterius/server

Public Properties

Property Type Description
Online bool

Public Methods

Method Description
AddJob ( string schedule, System.Guid id, JobModel job ) : void
CronDaemon ( ) : System
RemoveJob ( System.Guid id ) : bool
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
timerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

AddJob() public method

public AddJob ( string schedule, System.Guid id, JobModel job ) : void
schedule string
id System.Guid
job JobModel
return void

CronDaemon() public method

public CronDaemon ( ) : System
return System

RemoveJob() public method

public RemoveJob ( System.Guid id ) : bool
id System.Guid
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

Online public_oe property

public bool Online
return bool