node-cron-notifier

1.0.1 • Public • Published

Node Cron Notifier

  • Execute a node script at any cron time and trigger os native notifications for any event in the script
  • Combines the functionalities of node-cron and node-notifier
  • This is intended for use in end systems and not in servers.

Usage

node-cron-notifier run <crontime> <taskname> <absolutejsfilepath>

Notes

  1. Cron time - Refer cron syntax

  2. Notification Trigger

    • To denote success use, process.send(data)
    • To denote error and exit use, process.exit(1)

Only internal node libraries and globally installed packages can be executed. If you use external package in your script, you must install it globally.

Adding to System startup

Refer this link for details on how to add node-cron-notifier to system startup.

Readme

Keywords

Package Sidebar

Install

npm i node-cron-notifier

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.33 kB

Total Files

4

Last publish

Collaborators

  • srihari44