Click or drag to resize

ServiceHelperScheduleProcess(String, String, Boolean) Method

Schedules an existing ServiceProcess for automatic execution.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.181-beta
Syntax
public bool ScheduleProcess(
	string processName,
	string scheduleRule,
	bool updateExistingSchedule
)
View Source

Parameters

processName  String
Name of the ServiceProcess to be scheduled.
scheduleRule  String
Rule that defines the execution pattern of the ServiceProcess.
updateExistingSchedule  Boolean
true if the ServiceProcess is to be re-scheduled; otherwise false.

Return Value

Boolean
true if the ServiceProcess exists and is scheduled or re-scheduled, otherwise false.
See Also