Quartz
Whoami•
这个作者很懒,什么都没留下…
展开
-
Quartz—触发器(SimpleTrigger&&CronTrigger)
SimpleTrigger SimpleTrigger trigger = TriggerBuilder.newTrigger().withIdentity("trigger1","group1") .startNow() .withSchedule(SimpleScheduleBuilder.simpleSchedule() .withIntervalInSeconds(2) //每两秒执.原创 2020-07-13 10:56:23 · 187 阅读 · 0 评论 -
快速生成Quartz
导入依赖 <!-- Quartz任务调度依赖 --> <dependencies> <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.3</version&g.原创 2020-07-13 09:44:22 · 140 阅读 · 0 评论