首先声明,本篇博文基于springboot,基于spring的请自行研究。 (一)启动控制平台 首先将xxl-job-master.zip下载下来,然后在mysql数据库创建xxl-job数据库。 执行数据库: 用tomcat启动xxl-job-admin以后,打开页面:http://localho Read More
posted @ 2019-01-22 13:52 虚极静笃 Views(956) Comments(0) Diggs(0)
第一种:监听线程 第二种:TimerTask 第三种:ScheduledExecutorService 第四种:quartz 启动类: Job类: Read More
posted @ 2019-01-22 11:54 虚极静笃 Views(319) Comments(0) Diggs(0)