resque-slack
A small node-resque plugin that triggers Slack notifications on events in the job lifecycle.
Installation
$ npm install resque-slack
Usage
var jobs = add: { var answer = a + b; return ; } plugins: pluginOptions: resqueSlack: // Set your webhook url from Slack: webhook: 'https://hooks.slack.com/123' // Then set the event hook(s): before_enqueue: true after_perform: true ;
The available event hooks are: before_enqueue
, after_enqueue
, before_perform
and after_perform
.