/jobby

YET ANOTHER REDIS JOB QUEUE!

Primary LanguageJavaScriptMIT LicenseMIT

Jobby

YET ANOTHER REDIS JOB QUEUE!

Install

npm install jobby

Usage

var jobby = require('jobby');

var errorHandler = function (er, job) { console.error(er, job); };

jobby.jobs.mail = function (options, cb) {
  // Do mail-ish things...
  cb();
};

jobby
  .connect(redisUrl, errorHandler)
  .push('mail', {to: 'a', from: 'b', body: 'Hello!'});