refactor(historical eom): added logging to know when it fires off

This commit is contained in:
2025-05-31 02:17:54 -05:00
parent c94f501f95
commit b19fb6aeb6
2 changed files with 7 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ export const runHistoricalData = async () => {
})
);
createLog("info", "lst", "eom", ` historical data was just added.`);
if (error) {
createLog(
"error",

View File

@@ -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,
{