C# Class Rock.Jobs.JobPulse

Inheritance: IJob
ファイルを表示 Open project: NewSpring/Rock

Public Methods

Method Description
Execute ( IJobExecutionContext context ) : void

Job that updates the JobPulse setting with the current date/time. This will allow us to notify an admin if the jobs stop running. Called by the IScheduler when a ITrigger fires that is associated with the IJob.

JobPulse ( ) : System

Empty constructor for job initilization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

Private Methods

Method Description
UpdateScheduledJobs ( IJobExecutionContext context ) : void

Updates the scheduled jobs.

Method Details

Execute() public method

Job that updates the JobPulse setting with the current date/time. This will allow us to notify an admin if the jobs stop running. Called by the IScheduler when a ITrigger fires that is associated with the IJob.
public Execute ( IJobExecutionContext context ) : void
context IJobExecutionContext
return void

JobPulse() public method

Empty constructor for job initilization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

public JobPulse ( ) : System
return System