I am writing a Spring application and I use Quart Scheduler.
I'm running Jetty server and everything is ok, my app works:
I am sending an HTTP request to the one of my services and then, everything is refreshing:
and Quartz gives this log 3 times:
Here is a piece of my config.xml file:
<bean id="simpleTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean">
<property name="jobDetail" ref="fileimport" />
<property name="repeatInterval" value="${prop.checkinterval}" />
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="jobDetails">
<list>
<ref bean="fileimport" />
</list>
</property>
<property name="triggers">
<list>
<ref bean="simpleTrigger" />
</list>
</property>
</bean>
How can I load context once, during startup, and use it later without refreshing?