取消quartz 的自动更新功能

<!-- 定时任务 -->
<bean id="z" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
    <property name="triggers">
        <list></list>
    </property>
    <property name="quartzProperties"> 
        <props>
            <!-- 主要是这个参数 -->
            <prop key="org.quartz.scheduler.skipUpdateCheck">true</prop> 
        </props>
    </property>
</bean>


或者启动参数
-Dorg.terracotta.quartz.skipUpdateCheck=true

或者启动的类中添加
System.setProperty("org.terracotta.quartz.skipUpdateCheck","true");

你可能感兴趣的:(取消quartz 的自动更新功能)