package com.sinosoft.common.quartz; import org.apache.log4j.Logger; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import com.sinosoft.lz.system.sms.service.ReceiveSmsService; /** * 定时读取短信文件夹的定时任务, * @author zhuanghuiliang * @date 2015-10-13 */ public class Job4ReadShortMessage implements Job{ private Logger log = Logger.getLogger(this.getClass()); @Override public void execute(JobExecutionContext jobexecutioncontext) throws JobExecutionException { // TODO Auto-generated method stub log.info("start Job4ReadShortMessage ======"); //短信的回执解析 new ReceiveSmsService().doSmsService(); log.info("end Job4ReadShortMessage ======"); } }