Skip to content

node-schedule/every

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

every

human-friendly intervals. uses date for human-friendly date parsing.

Installation

With node.js:

npm install every.js

With component:

component install matthewmueller/every

Examples

every('5 seconds', fn);
every('10 minutes', fn);
every('5 hours', fn);
every('monday at 5pm', fn);

API

every(time, fn)

Call fn every time.

Optionally, you may use pass function(done) { ... } for asynchronous jobs

License

MIT

Packages

No packages published

Languages

  • JavaScript 83.7%
  • Makefile 16.3%