node-schedule-bin
v1.0.0
Published
Using node-schedule as a global binary to schedule jobs without additional code.
Downloads
68
Readme
Using node-schedule as a global binary to schedule jobs without additional code.
npm i -g node-schedule-bin
// config.json example
[
{
"time": "0 * * * * *",
"cmd": "echo hello1"
},
{
"time": "10 * * * * *",
"cmd": "echo hello2"
}
]
// the time format is the same as crontab
node-schedule --config=config.json