kefirfromperm / grails-asynchronous-mail

The Grails Asynchronous Mail plugin
http://grails.org/plugin/asynchronous-mail
21 stars 36 forks source link

Triggers on cluster in Grails 3.3.x and Quartz 2.0.13 #83

Closed dsowza closed 6 years ago

dsowza commented 6 years ago

Jobs are duplicating if the application in cluster is restarted like in the issue #31,

Quartz plugin define that in Grails 3.3.x concurrent and group must be defined as static

The grails-asynchronous-mail define the group and concurrent with def, that save in database de default group defined by quartz: public static final String DEFAULT_GROUP = "GRAILS_JOBS";

When startJobs do jobManagerService.getJobs("AsynchronousMail"), it doesn't returns the jobs.