posted 11 years ago
Hi guys,
I am looking for Quartz Job with Spring Examples and I was wondering, Can we set the cronexpression different for each Job in paramaters.
Example applicationContext :
<bean id="trigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="job" />
<property name="cronExpression" value="0/5 * * * * ?"/>
</bean>
Here we set cronexpression for the Job but, I have differnet Jobs which should be running on different Times. Please let me know, if you have any suggestions.
Thanks.