Browse Source

修改

master
bin 3 years ago
parent
commit
ffbef483cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/ssjl/zhaobiao/guizhou/quartz/QuartzConfig.java

+ 1
- 1
src/main/java/com/ssjl/zhaobiao/guizhou/quartz/QuartzConfig.java View File

@@ -35,7 +35,7 @@ public class QuartzConfig {
@Bean @Bean
public Trigger gzHeartTaskTrigger() { public Trigger gzHeartTaskTrigger() {
SimpleScheduleBuilder scheduleBuilder = SimpleScheduleBuilder.simpleSchedule() SimpleScheduleBuilder scheduleBuilder = SimpleScheduleBuilder.simpleSchedule()
.withIntervalInMinutes(1)
.withIntervalInMinutes(30)
.repeatForever(); .repeatForever();
return TriggerBuilder.newTrigger() return TriggerBuilder.newTrigger()
.forJob(gzHeartTask()) .forJob(gzHeartTask())


Loading…
Cancel
Save