Skip to content

Commit 1996d15

Browse files
committed
Create rake task for running this Job
To note - the first time we run this, there's likely to be a massive spike in emails. To set this in Heroku, we'll need to log into the interface and call it as `rake chaser:three_months` Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
1 parent 3b6cdca commit 1996d15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/tasks/chaser.rake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace :chaser do
2+
desc "Send emails to users who've not attended in a while"
3+
4+
task three_months: :environment do
5+
SendThreeMonthEmailJob.perform_later
6+
end
7+
end

0 commit comments

Comments
 (0)