0.2.1 • Published 11 years ago
jobby v0.2.1
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)
.start(errorHandler);
.push('mail', {to: 'a', from: 'b', body: 'Hello!'});