Quartz
基本概念Job指定任务的具体内容
Trigger指定执行的策略
Scheduler调度器,用于将Job和Trigger整合
入门案例引入依赖
123456<!--quartz--><dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.3.2</version></dependency>
job
123456789public class MyJob implements Job { static int count = 0; @Override public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { System.out.println(" ...