spring集成quartz实现定时任务
2021-07-07 20:07
标签:delay oca artifact start prope cut logger 2.3 trigger 定时器jar引入 spring配置quartz的xml 定时任务的类 spring集成quartz实现定时任务 标签:delay oca artifact start prope cut logger 2.3 trigger 原文地址:https://www.cnblogs.com/wangyanei2017/p/9586144.html
quartz
package com.wondersgroup.moduls.aidaozhen.quartz;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import com.wondersgroup.moduls.aidaozhen.service.impl.ZndzServiceImpl;
public class CleanZndzJob {
private static final Logger logger = LogManager.getLogger(CleanZndzJob.class);
public void executeCleanJob() {
logger.info("定期清理数据。。。。。");
}
}