Click or drag to resize

XmlFileJobScheduleManagerAdd Method (IJob, TimeSpan, NullableDateTime)

Add a schedule which repeats at interval on job

Namespace:  SanteDB.Core.Jobs
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public IJobSchedule Add(
	IJob job,
	TimeSpan interval,
	DateTime? stopDate = null
)

Parameters

job
Type: SanteDB.Core.JobsIJob
The job to add the schedule to
interval
Type: SystemTimeSpan
The interval to fire the job
stopDate (Optional)
Type: SystemNullableDateTime
The stop date

Return Value

Type: IJobSchedule

[Missing <returns> documentation for "M:SanteDB.Core.Jobs.XmlFileJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.TimeSpan,System.Nullable{System.DateTime})"]

Implements

IJobScheduleManagerAdd(IJob, TimeSpan, NullableDateTime)
See Also