Enqueue sidekiq jobs from your node apps.
Enqueue jobs to sidekiq from your node apps. Closely mirrors the official ruby sidekiq interface and supports job scheduling.
npm install sidekiq --save
// Require the moduleSidekiq = require"sidekiq";// Construct a sidekiq object with your redis connection and optional namespacesidekiq = redisCon processenvNODE_ENV;// Add a job to sidekiqsidekiqenqueue"WorkerClass" "argument" "array"retry: falsequeue: "critical";// Schedule a job in sidekiqsidekiqenqueue"WorkerClass" "some" "args"at: 2013 11 1;
# Install development dependenciesnpm install# Use grunt to generate the js version (lib/index.js)grunt
Please report any bugs or feature requests on the github issues page for this project here:
- Fork the notifier on github
- Edit only the files in
src, lib files are autogenerated
- Commit and push until you are happy with your contribution
- Make a pull request
This is free software released under the MIT License. See LICENSE.txt for details.