Exemplo n.º 1
0
 /// <summary>
 /// Calls the equivalent method on the 'proxied' <see cref="QuartzScheduler" />.
 /// </summary>
 public virtual void PauseTrigger(TriggerKey triggerKey)
 {
     sched.PauseTrigger(triggerKey);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Calls the equivalent method on the 'proxied' <see cref="QuartzScheduler" />,
 /// passing the <see cref="SchedulingContext" /> associated with this
 /// instance.
 /// </summary>
 public virtual void PauseTrigger(string triggerName, string groupName)
 {
     sched.PauseTrigger(schedCtxt, triggerName, groupName);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Calls the equivalent method on the 'proxied' <see cref="QuartzScheduler" />.
 /// </summary>
 public virtual Task PauseTrigger(TriggerKey triggerKey)
 {
     return(sched.PauseTrigger(triggerKey));
 }
Exemplo n.º 4
0
 private void PauseTrigger(IJobExecutionContext context)
 {
     TaskSchedulerLogger.JobLogger.Warn($"Job '{JobType}' has exceeded count of exception fires. Trigger has been paused.");
     QuartzScheduler.PauseTrigger(context.Trigger.Key);
     //ClearCountOfFails(context);
 }