IPC Event Handler Implemented and working well

This commit is contained in:
Luis Fernando Molina committed 2019-09-05 18:53:32 +02:00
1 parent 0074b7ce0f
commit 0dfe957db7
12 files changed
+299 -136

No files matched your search

+4
View File
@@ -984,6 +984,10 @@
thisReport.save(callBack);
bot.hasTheBotJustStarted = false;
/* Emit event that signals that this process finished */
global.eventHandler.raiseEvent('Jason-Multi-Period', 'Status Report Updated', { lastProcessedDay: lastFileDate })
}
catch (err) {
logger.write(MODULE_NAME, "[ERROR] start -> writeDailyStatusReport -> err = " + err.stack);