Trim added to LogProvider.

TrimLogsJob added to trim the logs every 24 hours.
This commit is contained in:
Mark McDowall 2011-11-21 23:35:11 -08:00
commit b02c7066ad
4 changed files with 65 additions and 0 deletions

View file

@ -93,6 +93,7 @@ namespace NzbDrone.Core
Kernel.Bind<IJob>().To<BannerDownloadJob>().InSingletonScope();
Kernel.Bind<IJob>().To<ConvertEpisodeJob>().InSingletonScope();
Kernel.Bind<IJob>().To<AppUpdateJob>().InSingletonScope();
Kernel.Bind<IJob>().To<TrimLogsJob>().InSingletonScope();
Kernel.Get<JobProvider>().Initialize();
Kernel.Get<WebTimer>().StartTimer(30);