New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-cron-daemon

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-cron-daemon

A node.js based cron daemon CLI that is leveraging node-cron

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

crond

A node.js based cron daemon CLI that is leveraging node-cron module to schedule the task.

Prerequisite

Make sure you have node.js installed at your system.

Install

You can install the app via npm

$ npm install node-cron-daemon

After installation, check the app accessibility

$ crond --version

Usage

To understand the usage, see below

$ crond --help 
 Cron daemon (crond)

 Syntax:
  crond [option]
  crond [expression] [command]

 Options:
  -h  --help        Show help menu
  -v  --version     Show version info

 Usage:
  crond -h
  crond -v
  crond "* * * * * *" "ls -l"
  crond "* * * * * *" ls -l
  crond "* * * * * *" ./sample.bat

As shown above, you can pass cron expression along with script or command that need to be scheduled for recurrence.

FAQs

Package last updated on 28 Jul 2022

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