node-quartz

0.2.3 • Public • Published

NodeJs Distributed and resilient job scheduling framework

Installation

It's on NPM.

npm install node-quartz

Usage

 
  var options = {
       scriptsDir : '/my/scripts/path',
       redis : {
            port : null,
            host: null,
            options : {}
       }
  };
 
  var quartz = require('node-quartz');
  
  var job = {
                id: 'job_id',
                script: 'scriptToRun',
                cron: '*/2 * * * *',
                options: {
                    currentDate: null,
                    endDate: null
                },
            };
 
  quartz.scheduleJob(job);
  
 

Requirement

  • Redis 2.8

Readme

Keywords

none

Package Sidebar

Install

npm i node-quartz

Weekly Downloads

2

Version

0.2.3

License

MIT

Last publish

Collaborators

  • xjodoin