2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
2016-08-02 15:25:55 -05:00
|
|
|
namespace :reminders do
|
|
|
|
desc "send reminders to stagnate quizes"
|
|
|
|
task send_all: :environment do
|
2017-02-08 16:30:54 -06:00
|
|
|
reminders = CandidateReminder.new
|
2016-08-02 15:25:55 -05:00
|
|
|
reminders.send_all
|
|
|
|
end
|
2017-02-08 17:34:05 -06:00
|
|
|
|
|
|
|
desc "send reminders to reviewers"
|
|
|
|
task reviewers: :environment do
|
|
|
|
reminders = ReviewerReminder.new
|
|
|
|
reminders.send_all
|
|
|
|
end
|
2016-08-02 15:25:55 -05:00
|
|
|
end
|