Skip to content

markwallsgrove/cron-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRON Parser

Standard CRON format parser that summarises the pattern. The parser accepts a standard five field format (minute, hour, day of month, month, and day of week) and the command to execute.

Special cases such as @yearly are currently not supported.

Dependencies

Node: 12 NPM: 6.14.6

Install

  • install all modules npm i

Execution

# ./index.js "*/15 0 1,15 * 1-5 /usr/bin/find"
minute 0 15 30 45
hour 0
day of month 1 15
month 1 2 3 4 5 6 7 8 9 10 11 12
day of week 1 2 3 4 5
command /usr/bin/find

Testing

Execute npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published