2016-11-11 15:49:46,292 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
cron.properties
cron.com.lihang.task.TestTaskJob=0 0/1 * * * ?
cron.pkgs=com.lihang.sys.ctl
org.quartz.scheduler.instanceName = NutzbookScheduler
org.quartz.threadPool.threadCount = 3
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
org.quartz.scheduler.skipUpdateCheck=true
package com.lihang.task;
@IocBean
public class TestTaskJob implements Job {
private static final Log log = Logs.get();
public void execute(JobExecutionContext context) throws JobExecutionException {
System.out.println("--------------------触发了定时器-------------------------");
}