1.0.1 • Published 3 years ago
node-cron-daemon v1.0.1
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-daemonAfter installation, check the app accessibility
$ crond --versionUsage
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.batAs shown above, you can pass cron expression along with script or command that need to be scheduled for recurrence.
1.0.1
3 years ago