diff --git a/server/services/logistics/controller/eom/historicalInv.ts b/server/services/logistics/controller/eom/historicalInv.ts index 6de1e4e..223927f 100644 --- a/server/services/logistics/controller/eom/historicalInv.ts +++ b/server/services/logistics/controller/eom/historicalInv.ts @@ -78,6 +78,8 @@ export const runHistoricalData = async () => { }) ); + createLog("info", "lst", "eom", ` historical data was just added.`); + if (error) { createLog( "error", diff --git a/server/services/logistics/utils/logisticsIntervals.ts b/server/services/logistics/utils/logisticsIntervals.ts index dd6ebd1..0b17178 100644 --- a/server/services/logistics/utils/logisticsIntervals.ts +++ b/server/services/logistics/utils/logisticsIntervals.ts @@ -16,6 +16,11 @@ export const createLogisticsJob = ( } // Create new job with Croner + + // console.log(timezone); + // console.log( + // new Date().toLocaleString("en-US", { timeZone: "America/Chicago" }) + // ); runningLogisticsCrons[id] = new Cron( schedule, {