mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
parent
84ea45ebaa
commit
05bdfcd550
16 changed files with 70 additions and 4 deletions
|
@ -78,6 +78,8 @@ namespace PlexRequests.Services.Jobs
|
|||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
|
||||
JobRecord.SetRunning(true, JobNames.CpCacher);
|
||||
try
|
||||
{
|
||||
var settings = NewsletterSettings.GetSettings();
|
||||
|
@ -95,6 +97,7 @@ namespace PlexRequests.Services.Jobs
|
|||
finally
|
||||
{
|
||||
JobRecord.Record(JobNames.RecentlyAddedEmail);
|
||||
JobRecord.SetRunning(false, JobNames.CpCacher);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue