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.0.127 lib/tasks/reporting.rake
renalware-core-2.0.126 lib/tasks/reporting.rake
renalware-core-2.0.125 lib/tasks/reporting.rake
renalware-core-2.0.124 lib/tasks/reporting.rake
renalware-core-2.0.123 lib/tasks/reporting.rake
renalware-core-2.0.121 lib/tasks/reporting.rake
renalware-core-2.0.120 lib/tasks/reporting.rake
renalware-core-2.0.119 lib/tasks/reporting.rake
renalware-core-2.0.118 lib/tasks/reporting.rake
renalware-core-2.0.117 lib/tasks/reporting.rake
renalware-core-2.0.116 lib/tasks/reporting.rake
renalware-core-2.0.115 lib/tasks/reporting.rake
renalware-core-2.0.113 lib/tasks/reporting.rake
renalware-core-2.0.112 lib/tasks/reporting.rake
renalware-core-2.0.111 lib/tasks/reporting.rake
renalware-core-2.0.110 lib/tasks/reporting.rake
renalware-core-2.0.109 lib/tasks/reporting.rake
renalware-core-2.0.108 lib/tasks/reporting.rake
renalware-core-2.0.106 lib/tasks/reporting.rake
renalware-core-2.0.105 lib/tasks/reporting.rake