コード例 #1
0
 public void TriggerComplete(ITrigger trigger, IJobExecutionContext context, SchedulerInstruction triggerInstructionCode)
 {
     Logger.Write(string.Join("触发器{0}执行完成.", trigger.Key.Name), LoggerLevel.Info);
 }
コード例 #2
0
 public void TriggerMisfired(ITrigger trigger)
 {
     Logger.Write(string.Join("触发器{0}熄火.", trigger.Key.Name), LoggerLevel.Error);
 }
コード例 #3
0
 public void TriggerFired(ITrigger trigger, IJobExecutionContext context)
 {
     Logger.Write(string.Join("触发器{0}点火.", trigger.Key.Name), LoggerLevel.Info);
 }
コード例 #4
0
 public void JobWasExecuted(IJobExecutionContext context, JobExecutionException jobException)
 {
     Logger.Write(string.Join("作业{0}执行完成.", context.JobDetail.Key.Name), LoggerLevel.Info);
 }
コード例 #5
0
 public void JobExecutionVetoed(IJobExecutionContext context)
 {
     Logger.Write(string.Join("作业{0}未启动.", context.JobDetail.Key.Name), LoggerLevel.Error);
 }
コード例 #6
0
 public void JobToBeExecuted(IJobExecutionContext context)
 {
     Logger.Write(string.Join("作业{0}准备执行.", context.JobDetail.Key.Name), LoggerLevel.Info);
 }