spidermon
spidermon copied to clipboard
Email Action failed with Periodic Jobs and default template
I created a Periodic Monitor to send emails if a given condition fails.
However, email action fails as it reads the stat finish_time, but it is not set at the time because the spider is still running.
Here is the code line https://github.com/scrapinghub/spidermon/blob/master/spidermon/contrib/actions/reports/templates/reports/email/monitors/result.jinja#L169