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