From 60edcada2c2a6e9381ee8b5a70e36c3710593b70 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 31 Mar 2026 14:56:41 +1100 Subject: [PATCH] Remove whenever config --- .env | 6 ------ config/schedule.rb | 12 ------------ 2 files changed, 18 deletions(-) delete mode 100644 config/schedule.rb diff --git a/.env b/.env index 3dc380b571..5f791c9f76 100644 --- a/.env +++ b/.env @@ -21,12 +21,6 @@ CHECKOUT_ZONE="Australia" # Find currency codes at http://en.wikipedia.org/wiki/ISO_4217. CURRENCY="AUD" -# The whenever gem can set the `MAILTO` variable for our cron jobs. -# You can define an email address to notify if any job outputs something. -# But you need a working mail server setup so that the message is delivered. -# See: config/schedule.rb -# SCHEDULE_NOTIFICATIONS="admin@example.com" - # Mail settings MAIL_HOST="example.com" MAIL_DOMAIN="example.com" diff --git a/config/schedule.rb b/config/schedule.rb deleted file mode 100644 index 5cd81427fc..0000000000 --- a/config/schedule.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Force manual loading of rails application to get all env variables from dotenv-rails when running whenever cmd -require File.expand_path('../environment', __FILE__) - -require 'whenever' -require 'yaml' - -# Learn more: http://github.com/javan/whenever - -env "MAILTO", ENV["SCHEDULE_NOTIFICATIONS"] if ENV["SCHEDULE_NOTIFICATIONS"] - -# If we use -e with a file containing specs, rspec interprets it and filters out our examples -job_type :run_file, "cd :path; :environment_variable=:environment bundle exec script/rails runner :task :output"