This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Spring to run Quartz Job Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Spring to run Quartz Job" Watch "Spring to run Quartz Job" New topic
Author

Spring to run Quartz Job

nv reddy
Greenhorn

Joined: Sep 21, 2011
Posts: 6

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Spring to run Quartz Job