From 76225ca7d6f4663c14cbb734c642b5c13a7ac7c8 Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 24 Apr 2019 11:49:43 -0300 Subject: [PATCH] Adding the process time to the output --- MultiPeriodDaily.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MultiPeriodDaily.js b/MultiPeriodDaily.js index c25258817..884f53e4a 100644 --- a/MultiPeriodDaily.js +++ b/MultiPeriodDaily.js @@ -297,6 +297,8 @@ bot.processDatetime = new Date(contextVariables.lastFile.valueOf() - ONE_DAY_IN_MILISECONDS); // Go back one day to start well when we advance time at the begining of the loop. + console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " " + " bot.processDatetime = " + bot.processDatetime.toISOString()); + advanceTime(); function advanceTime() {