greetings all
I have a cronExpression that I want it to be started on application startup and repeated every second, I am defining cronExpression via xml configuration as follows:
<bean id="myCronTrigger1" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="myJob" />
<property name="cronExpression" >
<value>${first.trigger.time}</value>
</property>
</bean>
any help please ?
You can also use a SimpleTrigger which is more suited for your usage.
From the SimpleTrigger lesson: