Вопрос

I have a rake task that uses Feedjira to fetch content from a bunch of RSS feeds that throws an error when a feed changes address.

I'd like to automate an email sent to notify me of the error. Is there a way to do this?

Thanks!

Это было полезно?

Решение

There is a gem designed to send emails on failed rake tasks, see below link.

https://github.com/nikhaldi/exception_notification-rake

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top