This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring to run Quartz job
 
Similar Threads
Spring to run Quartz Job
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
Spring-Quartz scheduler-CronJob NoSuchMethodError org.quartz. Scheduler.setJobFactory
send email using spring + Quartz Scheduler
Firing Quartz Job