cpan-testers / cpantesters-backend

Backend data processing for CPAN Testers
Other
0 stars 4 forks source link

Add report mailer backend process #26

Open preaction opened 6 years ago

preaction commented 6 years ago

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:

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.