From 70756db7072ca92219462be3ad36928c0b5be319 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 6 May 2013 21:31:55 -0700 Subject: [PATCH] disabled job registration/timer. --- NzbDrone.Core/Jobs/JobRepository.cs | 4 ++-- NzbDrone.Core/Jobs/JobTimer.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Core/Jobs/JobRepository.cs b/NzbDrone.Core/Jobs/JobRepository.cs index 0a449cbe4..cd8299aee 100644 --- a/NzbDrone.Core/Jobs/JobRepository.cs +++ b/NzbDrone.Core/Jobs/JobRepository.cs @@ -39,7 +39,7 @@ namespace NzbDrone.Core.Jobs public void Handle(ApplicationStartedEvent message) { - var currentJobs = All().ToList(); + /* var currentJobs = All().ToList(); var timers = new[] @@ -72,7 +72,7 @@ namespace NzbDrone.Core.Jobs currentDefinition.Interval = job.Interval; Upsert(currentDefinition); - } + }*/ } } } diff --git a/NzbDrone.Core/Jobs/JobTimer.cs b/NzbDrone.Core/Jobs/JobTimer.cs index 876ed1e53..19286dfbf 100644 --- a/NzbDrone.Core/Jobs/JobTimer.cs +++ b/NzbDrone.Core/Jobs/JobTimer.cs @@ -24,7 +24,7 @@ namespace NzbDrone.Core.Jobs { _timer.Interval = 1000 * 30; _timer.Elapsed += (o, args) => ExecuteCommands(); - _timer.Start(); + //_timer.Start(); } private void ExecuteCommands()