codeforamerica/citygram

No Reports for Wednesdays

Closed this issue · 3 comments

I'm signed up to get the weekly email with crashes in NYC. It seems that the report provides information for Thursday - Wednesday. But since the report goes out Wednesday morning, crashes that happen on Wednesday afternoons never get included in the reports.

@rar624 The code in question is here: https://github.com/codeforamerica/citygram/blob/master/app/models/event.rb#L17-18

I'm not sure how the Wednesday afternoon events are escaping. How are you diagnosing their absence?

I think I understand how this occurred. The publishers were updating at midday, the digest are sent out Wednesday morning (note this is a manual process currently).

screen shot 2015-07-19 at 6 52 10 pm

This meant that Monday feeds were never published, they were out of date on send, and updated after the send.

Thanks for the report @rar624 changed to publisher updates at 7am.

screen shot 2015-07-19 at 6 53 45 pm

Going to trust @dirkkelly on this one!