Grails

Running multiple instances of a quartz job dynamically

I have been facing a problem of running configurable number of instances of the same job to consume the traffic that was varying over time. In order to dynamically create an instance of a job and run it immediately, I googled and found some interesting facts like each trigger is fired with a new instance of the job. We can create any no....

by Bhagwat Kumar
Tag: quartz job
14-Jun-2010

Grails

Rescheduling a Quartz job programatically

In our current project on Grails we faced a problem  where we need to change the schedule of quartz job programmatically. The timeout value is read from the database. After doing some googling and digging mailing lists we found the following way- class MyJob{ static triggers = { simple name: 'mySimpleTrigger', group:...

by Bhagwat Kumar
Tag: quartz job
01-Dec-2009