00690a3f9ad023a4939599f04a18d0f5853eb017.svn-base 754 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.lz.system.sms.service.ReceiveSmsService;
  7. /**
  8. * 定时读取短信文件夹的定时任务,
  9. * @author zhuanghuiliang
  10. * @date 2015-10-13
  11. */
  12. public class Job4ReadShortMessage 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("start Job4ReadShortMessage ======");
  18. //短信的回执解析
  19. new ReceiveSmsService().doSmsService();
  20. log.info("end Job4ReadShortMessage ======");
  21. }
  22. }