简体   繁体   中英

Setup email notification with rake task error trigger

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM