dataease-dm/backend/src/main/java/io/dataease/job/sechedule/TestJob.java
2021-03-05 14:19:23 +08:00

18 lines
410 B
Java

package io.dataease.job.sechedule;
import org.quartz.JobExecutionContext;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @Author gin
* @Date 2021/3/5 11:37 上午
*/
public class TestJob extends DeScheduleJob {
@Override
void businessExecute(JobExecutionContext context) {
System.out.println("Test Job -- " + new SimpleDateFormat("HH:mm:ss").format(new Date()));
}
}