Job Log

Author: futureworks-okrCreated May 8, 2025Updated May 8, 2025

SUGGESTION: Enterprise level metrics schedule.logHandler = function( name, duration, error ){.... log stuff .....}

name: is the ".name" of the function passed in to scheduleJob duration : time in ms that the job took to run. error: if null, then I can log Success, else I can log the error object it will contain

Source: node-schedule/node-schedule