aspose file tools*
The moose likes Spring and the fly likes dynamic scheduling in spring 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "dynamic scheduling in spring 3" Watch "dynamic scheduling in spring 3" New topic
Author

dynamic scheduling in spring 3

subbarao dachepalli
Greenhorn

Joined: Jul 28, 2005
Posts: 5
Hi,

I am using Spring 3.0.5

I have multiple schedulers in multiple classes annotated with @Scheduled annotation with cron expression like:
1) @Scheduled(cron = "0 * * * * ?")
public void doSomething1()
2) @Scheduled(cron = "0 0/5 * * * *")
public void doSomething2()

Now i have a requirement where in i will get the cron expression from UI. and I have to reschedule the existing schedulers according to the expressions received from UI. I will be storing the values in DB.
I tried googling but did not get the solution.
Can you please suggest best approach for achieving this.

Thanks in Advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamic scheduling in spring 3