A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Frameworks
»
Spring
Author
Spring to run Quartz job
nv reddy
Greenhorn
Joined: Sep 21, 2011
Posts: 6
I like...
posted
Sep 22, 2011 10:42:30
0
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.
I agree. Here's the link:
http://aspose.com/file-tools
subject: Spring to run Quartz job
Similar Threads
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
Spring to run Quartz Job
Spring-Quartz scheduler-CronJob NoSuchMethodError org.quartz. Scheduler.setJobFactory
send email using spring + Quartz Scheduler
Firing Quartz Job
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter