TL;DR: A scheduled Node. js job needs two signals. Emit a structured completion or error event so operators can search what happened, and send a heartbeat to an independent monitor so it can notice when nothing happened.
Source: [Dev.to](https://dev.to/paswkeria/nodejs-scheduled-job-alerts-with-heartbeat-monitoring-for-safer-rollbacks-294c)