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