mirror of https://github.com/Sonarr/Sonarr
Register new job properly
This commit is contained in:
parent
b7408b726a
commit
cd25b86e5e
|
@ -140,6 +140,7 @@ namespace NzbDrone.Core
|
||||||
Kernel.Bind<IJob>().To<TrimLogsJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<TrimLogsJob>().InSingletonScope();
|
||||||
Kernel.Bind<IJob>().To<RecentBacklogSearchJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<RecentBacklogSearchJob>().InSingletonScope();
|
||||||
Kernel.Bind<IJob>().To<CheckpointJob>().InSingletonScope();
|
Kernel.Bind<IJob>().To<CheckpointJob>().InSingletonScope();
|
||||||
|
Kernel.Bind<IJob>().To<SearchHistoryCleanupJob>().InSingletonScope();
|
||||||
|
|
||||||
Kernel.Get<JobProvider>().Initialize();
|
Kernel.Get<JobProvider>().Initialize();
|
||||||
Kernel.Get<WebTimer>().StartTimer(30);
|
Kernel.Get<WebTimer>().StartTimer(30);
|
||||||
|
|
Loading…
Reference in New Issue