-
Jun 5th, 2012, 08:49 AM
#1
Dynamic Scheduling of Jobs
How can one schedule jobs using Quartz 1.8.6 Job Scheduler + Spring Batch 2.1 using the scheduling parameters provided, say, in a simple HTML form? I actually want this: "the user enters the scheduling time for job in a form, clicks submit, then the job gets executed at the specified time". I am currently using Cron Expressions. My XML Snippet is as follows:
<bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronT riggerBean">
<property name="jobDetail" ref="jobDetail"/>
<property name="cronExpression" value="* 43 18 ? * *"/>
</bean>
Using this approach, the scheduling parameters are hard-coded. I dont want that. Please help!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules