Springmvc集成的quartz 启动问题,如何不随着容器启动,而是使用控制器启动?
<bean id="timeLimitScheduler" lazy-init="false" autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="publishTimeLimitInfoTrigger"/><!--定时发布时限信息 -->
</list>
</property>
<property name="autoStartup" value="false"></property>
</bean>
注意autoStartup属性
听说过xxl-job吗