@@ -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()) | ||||