commit 6749568468a760ebd18657f7daff9cf0d3c4d12e Author: agnes Date: Sat Mar 7 18:25:59 2026 +0000 Add 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