Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
/ scheduler Public archive

A simple, easy to use cron scheduler for Node.JS.

License

Notifications You must be signed in to change notification settings

codyhazelwood/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler

A simple, easy to use cron scheduler for Node.JS.

I use this in many of my own projects for simple JavaScript cron jobs. It's nice for running periodic database cleanup tasks, generating reports, etc.

Feel free to fork, submit pull requests, or copy and paste into your own projects. Open an issue if you find bugs, or see something that would make it more useful for you.

Tested on Node.JS 0.10 and 0.12.

To Use

First, install dependencies:
npm install

Test mode (will run the included heartbeat.jobspec.js)

npm start

Production mode

node lib/scheduler.js --jobsPath=~/myAwesomeJobs/
or
JOBS_PATH=~/myAwesomeJobs/ node lib/scheduler.js

About

A simple, easy to use cron scheduler for Node.JS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published