Sha256: d5bf462a897955d44676111e9916969104d858740800f37a98223ff3566d33da

Contents?: true

Size: 356 Bytes

Versions: 114

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

namespace :reporting do
  desc "Send a daily system report email to confguired recpients"
  task send_daily_summary_email: :environment do
    recipents = Array(ENV.fetch("DAILY_REPORT_EMAIL_RECIPIENTS", "dev@airslie.com").split(","))
    Renalware::Reporting::ReportMailer.daily_summary(to: recipents).deliver_now
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.1.1 lib/tasks/reporting.rake
renalware-core-2.1.0 lib/tasks/reporting.rake
renalware-core-2.0.167 lib/tasks/reporting.rake
renalware-core-2.0.166 lib/tasks/reporting.rake
renalware-core-2.0.165 lib/tasks/reporting.rake
renalware-core-2.0.164 lib/tasks/reporting.rake
renalware-core-2.0.163 lib/tasks/reporting.rake
renalware-core-2.0.162 lib/tasks/reporting.rake
renalware-core-2.0.161 lib/tasks/reporting.rake
renalware-core-2.0.160 lib/tasks/reporting.rake
renalware-core-2.0.159 lib/tasks/reporting.rake
renalware-core-2.0.158 lib/tasks/reporting.rake
renalware-core-2.0.157 lib/tasks/reporting.rake
renalware-core-2.0.156 lib/tasks/reporting.rake
renalware-core-2.0.155 lib/tasks/reporting.rake
renalware-core-2.0.153 lib/tasks/reporting.rake
renalware-core-2.0.152 lib/tasks/reporting.rake
renalware-core-2.0.151 lib/tasks/reporting.rake
renalware-core-2.0.149 lib/tasks/reporting.rake
renalware-core-2.0.148 lib/tasks/reporting.rake