- Timestamp:
- Jul 10, 2010, 10:49:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/jobs/TaskRecurringScheduleJob.groovy
r199 r623 5 5 * The quartz scheduler is restarted if this file is edited so startDelay will then delay again. 6 6 * The execute method is called once every repeatInterval (in milliseconds). 7 * With concurrent=false the repeat interval starts counting afterthe previous job completes.7 * With concurrent=false the next job is blocked until the previous job completes. 8 8 * Apparently we need a hibernate session otherwise we get a LazyInitializationException, default is true but we specify it to be sure. 9 9 */ … … 15 15 def sessionRequired = true 16 16 17 // The repeatInterval starts counting again after firing, but concurrent = false may block firing until the previous job completes. 17 18 static triggers = { 18 19 simple name: "GenerateAll",
Note: See TracChangeset
for help on using the changeset viewer.