3 Ways to disable quartz automatic check for updates
1,
<BeanID= "Startquertz"Lazy-init= "false"Autowire= "No"class= "Org.springframework.scheduling.quartz.SchedulerFactoryBean"> < Propertyname= "Triggers"> <List> <refBean= "Cronquartzclock"/><!--Application - <!--<ref bean= "Cronxwquartzclock"/> Behavior - </List> </ Property> < Propertyname= "Schedulercontextasmap"> <Map> <!--Spring-managed service needs to be put here to inject success - <Description>Schedulercontextasmap</Description> <entryKey= "CustomerService"Value-ref= "Customerserviceimpl"/> </Map> </ Property> < Propertyname= "Quartzproperties"> <Props> <!--Disable Quartz automatic check for updates - <propKey= "Org.quartz.scheduler.skipUpdateCheck">True</prop> </Props> </ Property> </Bean>
2,
The start parameter is added
-dorg.terracotta.quartz.skipupdatecheck=true
3,
The class that is started is added
System.setproperty ("Org.terracotta.quartz.skipUpdateCheck", "true");
Disable Quartz automatic check for updates