From 81501d35d95fad2f63d8c531d3ecd308280a1830 Mon Sep 17 00:00:00 2001 From: Mohammad Ranjbar Z Date: Sat, 7 Oct 2023 12:59:04 +0330 Subject: [PATCH] Add some logs --- src/server/bootstrap.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/server/bootstrap.ts b/src/server/bootstrap.ts index 51d498681..0bdc59218 100644 --- a/src/server/bootstrap.ts +++ b/src/server/bootstrap.ts @@ -365,6 +365,20 @@ export async function bootstrap() { ) { runFillPowerSnapshotBalanceCronJob(); } + logger.debug('Running givPower cron jobs info ', { + UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE: config.get( + 'UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE', + ), + ENABLE_INSTANT_BOOSTING_UPDATE: config.get( + 'ENABLE_INSTANT_BOOSTING_UPDATE', + ), + INSTANT_BOOSTING_UPDATE_CRONJOB_EXPRESSION: config.get( + 'INSTANT_BOOSTING_UPDATE_CRONJOB_EXPRESSION', + ), + UPDATE_POWER_ROUND_CRONJOB_EXPRESSION: config.get( + 'UPDATE_POWER_ROUND_CRONJOB_EXPRESSION', + ), + }); if ( (config.get('UPDATE_POWER_SNAPSHOT_SERVICE_ACTIVE') as string) === 'true' ) {