schedule next run part 3
All checks were successful
ci / build (push) Successful in 1m4s

This commit is contained in:
Christopher Hase 2025-03-28 13:28:46 +01:00
parent 68b996535d
commit d5891cbdd8

View file

@ -47,6 +47,7 @@ exec('iching divine', (error, stdout, stderr) => {
// Berechne das nächste Ausführungsdatum
const nextRunDate = calculateNextRunDate(config.daysInterval, config.timeOfDay);
console.log(`Gegenwärtig: ` + new Date());
console.log(`Nächste Ausführung: ${nextRunDate}`);
// Starte das Scheduling
@ -109,7 +110,7 @@ function calculateNextRunDate(daysInterval: number, timeOfDay: string): Date {
return currentDate;*/
currentDate.setMinutes(currentDate.getMinutes() + 1); //TODO: JUST FOR DEBUGGING!!!
currentDate.setMinutes(currentDate.getMinutes() + 2); //TODO: JUST FOR DEBUGGING!!!
return currentDate;
}