Start the scheduler after the jobs have been assigned

This commit is contained in:
tidusjar 2019-04-24 10:27:15 +01:00
commit 27a7e96f75
3 changed files with 7 additions and 5 deletions

View file

@ -48,15 +48,14 @@ namespace Ombi.Schedule
// Set job factory
OmbiQuartz.Instance.UseJobFactory(jobFactory);
// Run Quartz
await OmbiQuartz.Start();
// Run configuration
await AddPlex(s);
await AddEmby(s);
await AddDvrApps(s);
await AddSystem(s);
// Run Quartz
await OmbiQuartz.Start();
}
private static async Task AddSystem(JobSettings s)