| 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
)
Function SetJobSchedule (
job As IJob,
intervalSpan As TimeSpan
) As IJobSchedule
IJobSchedule^ SetJobSchedule(
IJob^ job,
TimeSpan intervalSpan
)
abstract SetJobSchedule :
job : IJob *
intervalSpan : TimeSpan -> IJobSchedule
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:
IJobScheduleThe schedule of the job
See Also