d845182de9a5d51f1396194b6993fce677c5d198.svn-base 786 B

12345678910111213141516171819202122232425
  1. package com.sinosoft.common.quartz;
  2. import org.apache.log4j.Logger;
  3. import org.quartz.Job;
  4. import org.quartz.JobExecutionContext;
  5. import org.quartz.JobExecutionException;
  6. import com.sinosoft.em.alert.duty.records.service.RespAlertDutyService;
  7. /**
  8. * 定时读取短信文件夹的定时任务,
  9. * @author xuwei
  10. * @date 2015-10-13
  11. */
  12. public class Job4DrillDuty implements Job{
  13. private Logger log = Logger.getLogger(this.getClass());
  14. @Override
  15. public void execute(JobExecutionContext jobexecutioncontext) throws JobExecutionException {
  16. // TODO Auto-generated method stub
  17. log.info("开始定时任务:应急演练到期提醒 ===******************************************************===");
  18. //应急演练定时任务
  19. new RespAlertDutyService().getDrillDutyTel();
  20. }
  21. }