forked from github/dataease
18 lines
410 B
Java
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()));
|
|
}
|
|
}
|