diff --git a/ExtractionBotProcessMainLoop.js b/ExtractionBotProcessMainLoop.js index 5aae506f1..3b9b5b346 100644 --- a/ExtractionBotProcessMainLoop.js +++ b/ExtractionBotProcessMainLoop.js @@ -2,7 +2,7 @@ const ROOT_DIR = './'; - const MODULE_NAME = "Extraction Bot Process Main Loop"; + const MODULE_NAME = "Sensor Bot Process Main Loop"; const FULL_LOG = true; let USER_BOT_MODULE; @@ -581,7 +581,7 @@ if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] run -> loop -> loopControl -> onContinue -> Entering function."); } - /* Extraction bots are going to be executed after a configured period of time after the last execution ended. This is to avoid overlapping executions. */ + /* Sensor bots are going to be executed after a configured period of time after the last execution ended. This is to avoid overlapping executions. */ switch (nextWaitTime) { case 'Normal': { diff --git a/Root.js b/Root.js index 86f99e4c1..9bc24e9b0 100644 --- a/Root.js +++ b/Root.js @@ -328,7 +328,7 @@ if (FULL_LOG === true) { console.log(logDisplace + "Root : [INFO] start -> findProcess -> startProcess -> Ready to start process."); } switch (botConfig.type) { - case 'Extraction': { + case 'Sensor': { runExtractionBot(newInstanceBotConfig, processConfig, padMonth, year); break; } @@ -367,7 +367,7 @@ }; switch (botConfig.type) { - case 'Extraction': { + case 'Sensor': { runExtractionBot(botConfig, processConfig, month, year); break; } @@ -397,7 +397,7 @@ } switch (botConfig.type) { - case 'Extraction': { + case 'Sensor': { runExtractionBot(botConfig, processConfig, month, year); break; } @@ -423,7 +423,7 @@ let year = (new Date()).getUTCFullYear(); switch (botConfig.type) { - case 'Extraction': { + case 'Sensor': { runExtractionBot(botConfig, processConfig, month, year); break; } diff --git a/Run.js b/Run.js index c83f6690e..8231644e9 100644 --- a/Run.js +++ b/Run.js @@ -72,7 +72,7 @@ function readExecutionConfiguration() { backtest: backtest, competition: competition } - } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Extraction') { + } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Sensor') { let allMonths = { run: "false", minYear: process.env.MIN_YEAR,