Click or drag to resize

IJobManagerServiceSetJobSchedule(IJob, TimeSpan) Method

Schedule a job to repeat on an interval

Namespace: SanteDB.Core.Jobs
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
IJobSchedule SetJobSchedule(
	IJob job,
	TimeSpan intervalSpan
)

Parameters

job  IJob
The job which to set the interval on
intervalSpan  TimeSpan
The repeat interval of the job

Return Value

IJobSchedule
The schedule of the job
See Also