@@ -0,0 +1,529 @@
+package com.lance.quartz.common.job;%0A%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0Aimport org.quartz.Job;%0Aimport org.quartz.JobExecutionContext;%0Aimport org.quartz.JobExecutionException;%0A%0A/**%0A * %E8%AF%A5%E6%96%B9%E6%B3%95%E4%BB%85%E4%BB%85%E7%94%A8%E6%9D%A5%E6%B5%8B%E8%AF%95%E6%AF%8F%E5%88%86%E9%92%9F%E6%89%A7%E8%A1%8C%0A * @author lance%0A */%0Apublic class MinuteJob implements Job%7B%0A%09Logger logger = LogManager.getLogger(getClass());%0A%0A%09@Override%0A%09public void execute(JobExecutionContext context) throws JobExecutionException %7B%0A%09%09logger.info(%22JobName: %7B%7D%22, context.getJobDetail().getKey().getName());%0A%09%7D%0A%7D

add job test1