This commit is contained in:
parent
389ad95efd
commit
3855d5befc
1 changed files with 4 additions and 4 deletions
|
@ -42,15 +42,15 @@ function executeCommand(): void {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log(`Send E-Mail`);
|
||||
|
||||
sendEmail(stdout);
|
||||
|
||||
//Load config once
|
||||
if (config == undefined) {
|
||||
config = loadConfig();
|
||||
}
|
||||
|
||||
console.log(`Send E-Mail`);
|
||||
|
||||
sendEmail(stdout);
|
||||
|
||||
console.log(config.daysInterval, config.timeOfDay);
|
||||
|
||||
// Calculate next execution time
|
||||
|
|
Loading…
Reference in a new issue