Skip to content

xjodoin/node-quartz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NodeJs Distributed Scheduling framework

Resources

Stars

Watchers

Forks

Packages

No packages published