Click or drag to resize

IJobManagerServiceSetJobSchedule Method (IJob, TimeSpan)

Schedule a job to repeat on an interval

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

Parameters

job
Type: SanteDB.Core.JobsIJob
The job which to set the interval on
intervalSpan
Type: SystemTimeSpan
The repeat interval of the job

Return Value

Type: IJobSchedule
The schedule of the job
See Also