From 6749568468a760ebd18657f7daff9cf0d3c4d12e Mon Sep 17 00:00:00 2001 From: agnes Date: Sat, 7 Mar 2026 18:25:59 +0000 Subject: [PATCH] Add schedule_production.rb --- schedule_production.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 schedule_production.rb diff --git a/schedule_production.rb b/schedule_production.rb new file mode 100644 index 0000000..68d75ba --- /dev/null +++ b/schedule_production.rb @@ -0,0 +1,19 @@ +#this file sends out kudos and subscriptions emails and stuff lmao + +set :set_path_automatically, false +set :cron_log, "#{path}/log/whenever.log" + +# Resend signup emails +every 1.day, at: '6:41 am' do + rake "admin:resend_signup_emails" +end + +# Send kudos notifications +every 1.day, at: '9:46 am' do + rake "notifications:deliver_kudos" +end + +# Send subscription notifications +every 1.hour do + rake "notifications:deliver_subscriptions" +end \ No newline at end of file