Quartz Job in a Grails Application being triggered three times

grails, quartz-scheduler

Solution

Your cron expression looks OK. Tomcat's auto-deployment features may be the culprit. For some suggestions, see: https://stackoverflow.com/a/11990221

Problem

I have the next Quartz Job in a Grails Application. The job calculates some stats and sends and email with these stats. I want the job to execute everyday at 7 o'clock. My problem is the job istriggered three times every day instead of just once. ``` class DailyEmailJob { def eventService static triggers = { cron name: 'emailTrigger', cronExpression: "0 0 7 * * ?" } def execute() { eventService.send24StatsEmail() } } ``` I am hosting the Grails application in Apache Tomcat/7.0.35, running Grails 2.2.1 and quartz-1.0-RC6

Original source

Related problems