Is there any way to use the built-in scheduler (quartz with Spring) in order to trig my plugin by a scheduler and not manually by the user action (click a button) ?
I saw in the source code:
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="dateBasedMailingsCronTrigger"/>
<ref bean="delayedMailingsCronTrigger"/>
<ref bean="cleanDBCronTrigger"/>
<ref bean="loginTrackTableCleanerJobTrigger" />
</list>
</property>
</bean>
Is there anyway to get this factory at runtime (with getBeans? ) from the plugin extension?
For the moment my plugin extends "AnnotatedDispatchingEmmFeatureExtension" and I would let the user to force the action by clicking on the button.
Thanks for your help
Plugin Triggered by scheduler not by user
Moderator: moderator
Re: Plugin Triggered by scheduler not by user
Nobody tried that already?