Click or drag to resize

IJobScheduleManagerAdd 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
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.IJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.TimeSpan,System.Nullable{System.DateTime})"]

See Also