migration #51

Merged
cowch merged 166 commits from migration into main 2025-09-19 22:18:47 -05:00
Showing only changes of commit 6caa5984e7 - Show all commits

View File

@@ -37,9 +37,9 @@ setTimeout(async () => {
const shiftTimeSplit = shift?.data[0]?.shiftChange.split(":"); const shiftTimeSplit = shift?.data[0]?.shiftChange.split(":");
const cronSetup = `${ const cronSetup = `${
shiftTimeSplit.length > 0 ? `${parseInt(shiftTimeSplit[1])}` : "0" shiftTimeSplit?.length > 0 ? `${parseInt(shiftTimeSplit[1])}` : "0"
} ${ } ${
shiftTimeSplit.length > 0 ? `${parseInt(shiftTimeSplit[0])}` : "7" shiftTimeSplit?.length > 0 ? `${parseInt(shiftTimeSplit[0])}` : "7"
} * * *`; } * * *`;
//console.log(cronSetup); //console.log(cronSetup);