0.0.1 • Published 9 months ago

@credenceanalytics/service-heartbeat v0.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
9 months ago

service-heartbeat

Installation

npm install @credenceanalytics/service-heartbeat

Key Features

  • Keep an eye on the active (running) status of the mentioned service.

Getting Started

  • Import service-heartbeat module and utilize its start function
  • Start function require parameter
    • path -> __filename
    • heartbeatFile -> heartbeatFile location
    • setTime -> time (default time 5000) optional

Use:

const worker = require('service-heartbeat');
worker.start(path,heartbeatFile,setTime);
0.0.1

9 months ago