Configuration de Quartz/Spring
Bonjour ! tout le monde
je suis entrain de configurer mon fichier ApplicationContext.xml pour utiliser le technologie de quartz avec spring, mais je ne comprend pas pourquoi la propriété cronExpression n'existe pas dans la classe org.springframework.scheduling.quartz.CronTriggerBean et pourtant j'utilise Spring 2.5.6
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| <bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref local="exampleJob" />
</property>
<!-- run every day at 6AM -->
<property name="cronExpression" value="0 0 6 * * ?" />
</bean> |