Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add report mailer backend process #26

Open
preaction opened this issue Aug 18, 2018 · 0 comments
Open

Add report mailer backend process #26

preaction opened this issue Aug 18, 2018 · 0 comments

Comments

@preaction
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant