New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-schedule-bin

Using node-schedule as a global binary to schedule jobs without additional code.

1.0.0
latest
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created

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

FAQs

Package last updated on 07 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts