diff options
Diffstat (limited to 'lib/tasks/reminder.rake')
-rw-r--r-- | lib/tasks/reminder.rake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/tasks/reminder.rake b/lib/tasks/reminder.rake index d11c7cebb..3997ee369 100644 --- a/lib/tasks/reminder.rake +++ b/lib/tasks/reminder.rake @@ -35,7 +35,9 @@ namespace :redmine do options[:project] = ENV['project'] if ENV['project'] options[:tracker] = ENV['tracker'].to_i if ENV['tracker'] options[:users] = (ENV['users'] || '').split(',').each(&:strip!) - - Mailer.reminders(options) + + Mailer.with_synched_deliveries do + Mailer.reminders(options) + end end end |