Skip to content

Add report mailer backend process #26

@preaction

Description

@preaction

We need a process that will send out the e-mails for reports based on author preferences. Once the ResultSet method to fetch the report list is created, we just need to fetch the reports and send the desired mail(s) to the authors.

This process should consume the Beam::Runnable role and accept the following command-line options:

  • --daily - Only run once a day and send all daily reports (type 1) and the weekly reports for the current day (type 2 on Saturday, type 4 on the first of the month, and types 5-11 on Sun-Sat respectively).

If --daily is not passed-in, we are running report type 3, each individual report.

This should record the last report date/time for each report type so that it knows where to start looking for reports.

This might be better off as two different processes: One to send individual reports out, and the other to send out daily/weekly/monthly summaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions