IScheduler PauseJobs Method Quartz.NET API Documentation
Pause all of the IJobDetails in the matching groups - by pausing all of their ITriggers.

Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 2.2.1.400
Syntax

void PauseJobs(
	GroupMatcher<JobKey> matcher
)

Parameters

matcher
Type: Quartz.Impl.Matchers GroupMatcher JobKey 

[Missing <param name="matcher"/> documentation for "M:Quartz.IScheduler.PauseJobs(Quartz.Impl.Matchers.GroupMatcher{Quartz.JobKey})"]

Remarks

The Scheduler will "remember" that the groups are paused, and impose the pause on any new jobs that are added to any of those groups until it is resumed.

NOTE: There is a limitation that only exactly matched groups can be remembered as paused. For example, if there are pre-existing job in groups "aaa" and "bbb" and a matcher is given to pause groups that start with "a" then the group "aaa" will be remembered as paused and any subsequently added jobs in group "aaa" will be paused, however if a job is added to group "axx" it will not be paused, as "axx" wasn't known at the time the "group starts with a" matcher was applied. HOWEVER, if there are pre-existing groups "aaa" and "bbb" and a matcher is given to pause the group "axx" (with a group equals matcher) then no jobs will be paused, but it will be remembered that group "axx" is paused and later when a job is added in that group, it will become paused.

See Also