| DefaultJobManagerServiceSetJobSchedule Method (IJob, TimeSpan) |
Set the 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 public IJobSchedule SetJobSchedule(
IJob job,
TimeSpan interval
)
Public Function SetJobSchedule (
job As IJob,
interval As TimeSpan
) As IJobSchedule
public:
virtual IJobSchedule^ SetJobSchedule(
IJob^ job,
TimeSpan interval
) sealed
abstract SetJobSchedule :
job : IJob *
interval : TimeSpan -> IJobSchedule
override SetJobSchedule :
job : IJob *
interval : TimeSpan -> IJobSchedule
Parameters
- job
- Type: SanteDB.Core.JobsIJob
The job to set repeat schedule for - interval
- Type: SystemTimeSpan
The interval to set
Return Value
Type:
IJobScheduleThe created schedule
Implements
IJobManagerServiceSetJobSchedule(IJob, TimeSpan)See Also