mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Trigger the Plex Job when we clear the data out to resync
This commit is contained in:
parent
296ceeb762
commit
f63f74ef13
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Ombi.Core.Settings;
|
||||
|
@ -106,6 +107,9 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
await _plexRepo.ExecuteSql(episodeSQL);
|
||||
await _plexRepo.ExecuteSql(seasonsSql);
|
||||
await _plexRepo.ExecuteSql(mainSql);
|
||||
|
||||
|
||||
await OmbiQuartz.Scheduler.TriggerJob(new JobKey(nameof(IPlexContentSync), "Plex"), new JobDataMap(new Dictionary<string, string> { { "recentlyAddedSearch", "false" } }));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue