Permalink
Browse files

Resolved the bug in TriggerHelper.

  • Loading branch information...
Vitalii Samolovskikh
Vitalii Samolovskikh committed Jan 24, 2013
1 parent 17a122d commit 1943e6e9e10f47f8247627fcd405c027bf91ffa4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/groovy/grails/plugin/quartz2/TriggerHelper.groovy
@@ -56,7 +56,7 @@ public class TriggerHelper{
static SimpleTriggerImpl simpleTrigger(JobKey jobKey, Date startTime, int repeatCount, Long interval, Map params = null){
def trigger = new SimpleTriggerImpl()
trigger = commonTriggerSetup(trigger,jobKey,params)
trigger.startTime = new Date()
trigger.startTime = startTime?:new Date()
trigger.repeatCount = repeatCount
trigger.repeatInterval = interval
return trigger

0 comments on commit 1943e6e

Please sign in to comment.