Sha256: 487c6187c22d5a5e78e38a6a9d49d087911f7227e455ad2bf63c5e7e672876ee
Contents?: true
Size: 344 Bytes
Versions: 2
Compression:
Stored size: 344 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) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.46 | lib/tasks/reporting.rake |
renalware-core-2.0.45 | lib/tasks/reporting.rake |