0.0
No commit activity in last 3 years
No release in over 3 years
A Resque plugin that sends desktop notifications when a job fails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.9.10
 Project Readme

A Resque plugin that sends desktop notification if a job fails.

How to Use

Install

gem "resque-notify"

Require

require 'resque-notify/server'

Poll

  1. Open the Resque web view
  2. Make sure you're on the overview page
  3. Click "Live Poll"
  4. Wait for failed jobs

Q&A

Why am I not being notified?
Probably because you don't have the Overview page open on the Resque web view, or you haven't clicked "Live Poll" yet
How does this work?
Resque Notify adds a second view directory to the Sinatra app that Resque uses to create a web view. This directory contains a copy of layout.erb. The only difference between this layout file and the default one is that it includes the notify script. This plugin also overrides the Resque::Server#show method so that the default layout is the layout with the notify script.