refactor(historical eom): added logging to know when it fires off
This commit is contained in:
@@ -78,6 +78,8 @@ export const runHistoricalData = async () => {
|
||||
})
|
||||
);
|
||||
|
||||
createLog("info", "lst", "eom", ` historical data was just added.`);
|
||||
|
||||
if (error) {
|
||||
createLog(
|
||||
"error",
|
||||
|
||||
@@ -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,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user