Add logmessage on startup for next job
This commit is contained in:
parent
87ea077281
commit
cb6482ebae
@ -14,6 +14,7 @@ public class JobBoss : GlobalBase
|
|||||||
this.jobs = new();
|
this.jobs = new();
|
||||||
LoadJobsList(connectors);
|
LoadJobsList(connectors);
|
||||||
this.mangaConnectorJobQueue = new();
|
this.mangaConnectorJobQueue = new();
|
||||||
|
Log($"Next job in {jobs.MinBy(job => job.nextExecution)?.nextExecution.Subtract(DateTime.Now)} {jobs.MinBy(job => job.nextExecution)?.id}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddJob(Job job)
|
public void AddJob(Job job)
|
||||||
|
Loading…
Reference in New Issue
Block a user