In my recent project there was a use case to change repeat interval of job so that job runs after every 8 seconds instead of 1 second. [java] class TestJob { def concurrent = false static triggers = { simple repeatInterval: 1000l // execute job once in 1 sec } def execute() { println...
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:...