1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package com.sandu.common.quartz;
|
| import org.quartz.JobExecutionContext;
| import org.springframework.scheduling.quartz.QuartzJobBean;
|
| /**
| * @author chenjiantian
| * @date 2021/12/15 10:28
| */
| public class ExecutionJob extends QuartzJobBean {
|
| @Override
| protected void executeInternal(JobExecutionContext context) {
| System.out.println(Thread.currentThread().toString());
| }
| }
|
|