Grails

Removing Triggers and Rescheduling a Quartz 2 Job programatically

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...

by Puneet Behl
Tag: quartz 2
17-Jul-2012