Click or drag to resize
Infosoft Logo

ISchedulerService Interface

Defines operations that trigger automatically executed jobs in the job scheduler.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Scheduler
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
public interface ISchedulerService : IBusinessService

The ISchedulerService type exposes the following members.

Methods
 NameDescription
Public methodGetAllTriggers Gets all triggers defined for the scheduler.
Public methodGetTriggerByName Gets the trigger with the given name. Returns an empty response object if no trigger is found.
Public methodGetTriggersByJob Gets all triggers defined for a given job type for the scheduler.
Public methodPauseTrigger Pauses an active trigger with the given name.
Public methodRemoveTrigger Removes the trigger with the given name. This will cancel all future scheduled runs for the trigger.
Public methodResumeTrigger Resumes a paused trigger with the given name.
Public methodScheduleOnce Schedules a job to run once, at a given time.
Public methodScheduleWithCronExpression Schedules a job to run at a given schedule, using a cron expression.
Public methodScheduleWithInterval Schedules a job to run at a given schedule, with an interval that determines how far apart the executions are.
Top
See Also