From 0209159c5c3ecab14f6c4fa9631164d3c082e726 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 19 Sep 2023 19:50:39 +0200 Subject: [PATCH] Add log to see wait time --- Tranga/Jobs/JobBoss.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Tranga/Jobs/JobBoss.cs b/Tranga/Jobs/JobBoss.cs index d8a04a7..6c5314f 100644 --- a/Tranga/Jobs/JobBoss.cs +++ b/Tranga/Jobs/JobBoss.cs @@ -223,6 +223,7 @@ public class JobBoss : GlobalBase queueHead.ResetProgress(); jobQueue.Dequeue(); ExportJobsList(); + Log($"Next job in {jobQueue.Peek().nextExecution.Subtract(DateTime.Now)}"); }else if (queueHead.progressToken.state is ProgressToken.State.Standby) { Job[] subJobs = jobQueue.Peek().ExecuteReturnSubTasks().ToArray();