Click or drag to resize

IJobScheduleManagerAdd(IJob, DayOfWeek, DateTime, NullableDateTime) Method

Add a job schedule to job that repeats on repeatOn starting startDate

Namespace: SanteDB.Core.Jobs
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
IJobSchedule Add(
	IJob job,
	DayOfWeek[] repeatOn,
	DateTime startDate,
	DateTime? stopDate = null
)

Parameters

job  IJob
The job to add the schedule to
repeatOn  DayOfWeek
Repeat on days of week
startDate  DateTime
The start date and time of the schedule
stopDate  NullableDateTime  (Optional)
The date to stop the schedule

Return Value

IJobSchedule

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

See Also