The main downside is that the email alert only gives the last few lines of the log. Usually, this is not enough to know which rake task failed. If you have multiple ones scheduled at the same time, you need to take the process id (e.g., "scheduler.5555") and go to the logentries site and search for that text. Then you can see the first entry where the rake task was started by heroku with the name of the task. I've emailed logentries about this and they say they are working on improving UI filtering by process name and understand my need to get the first few lines of the process output in the email alert.
On Thursday, February 21, 2013 3:46:27 AM UTC-8, Espen Antonsen wrote: > > The Logentries alert sounds nice, I will try it out as I am already using > that addon. Otherwise I have been trialing https://deadmanssnitch.com/the > last few days. Works good but $19/month. > > On Thursday, 21 February 2013 06:22:11 UTC+1, Bill V wrote: >> >> To externalize the monitoring, I like using the free Logentries add-on to >> watch my rake tasks. I just added an "Alert" for the text "rake aborted". >> This is nice because I will get alerted on any failure; I don't have to >> worry about whether there was a failure to send me an email about a >> failure. >> >> On Tuesday, February 12, 2013 6:59:24 PM UTC-8, Kelly Felkins wrote: >>> >>> I would like my scheduler jobs to notify me if there is a failure. >>> >>> One possibility is to wrap the processing in a rescue block, and send an >>> email if an exception is raised. >>> >>> Is there something simpler available? For example in Vixie cron there is >>> a "mailto" option which sends the output of the cron, error or otherwise, >>> to the address specified by the mailto option. >>> >>> -Kelly >>> >> -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
