diff --git a/broker.ts b/broker.ts index 83b8336..331fbde 100644 --- a/broker.ts +++ b/broker.ts @@ -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; }