1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 09:12:17 +00:00

disabled job registration/timer.

This commit is contained in:
kay.one 2013-05-06 21:31:55 -07:00
parent ec58b8b595
commit 70756db707
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ public IList<JobDefinition> GetPendingJobs()
public void Handle(ApplicationStartedEvent message)
{
var currentJobs = All().ToList();
/* var currentJobs = All().ToList();
var timers = new[]
@ -72,7 +72,7 @@ public void Handle(ApplicationStartedEvent message)
currentDefinition.Interval = job.Interval;
Upsert(currentDefinition);
}
}*/
}
}
}

View file

@ -24,7 +24,7 @@ public void Handle(ApplicationStartedEvent message)
{
_timer.Interval = 1000 * 30;
_timer.Elapsed += (o, args) => ExecuteCommands();
_timer.Start();
//_timer.Start();
}
private void ExecuteCommands()