2
0

update execution time

This commit is contained in:
glax 2023-05-31 22:20:33 +02:00
parent 67d06cd887
commit 932057cca0
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ public class DownloadNewChaptersTask : TrangaTask
foreach(Chapter newChapter in newChapters)
connector.DownloadChapter(pub, newChapter);
this.lastExecuted = DateTime.Now;
this.state = ExecutionState.Waiting;
}

View File

@ -16,6 +16,8 @@ public class UpdateKomgaLibraryTask : TrangaTask
Komga.KomgaLibrary[] allLibraries = komga.GetLibraries();
foreach (Komga.KomgaLibrary lib in allLibraries)
komga.UpdateLibrary(lib.id);
this.lastExecuted = DateTime.Now;
this.state = ExecutionState.Waiting;
}
}