Click or drag to resize

DefaultJobManagerServiceAddJob Method (IJob, TimeSpan, JobStartType)

Add a job to the job manager

Namespace:  SanteDB.Core.Jobs
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public void AddJob(
	IJob jobObject,
	TimeSpan interval,
	JobStartType startType = JobStartType.Immediate
)

Parameters

jobObject
Type: SanteDB.Core.JobsIJob

[Missing <param name="jobObject"/> documentation for "M:SanteDB.Core.Jobs.DefaultJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

interval
Type: SystemTimeSpan

[Missing <param name="interval"/> documentation for "M:SanteDB.Core.Jobs.DefaultJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

startType (Optional)
Type: SanteDB.Core.JobsJobStartType

[Missing <param name="startType"/> documentation for "M:SanteDB.Core.Jobs.DefaultJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

Implements

IJobManagerServiceAddJob(IJob, TimeSpan, JobStartType)
See Also