mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Trigger a metadata refresh when we finish scanning the libraries
This commit is contained in:
parent
6b2e9760e3
commit
0c7a13f728
4 changed files with 14 additions and 5 deletions
|
@ -21,7 +21,7 @@ namespace Ombi.Settings.Settings.Models
|
|||
}
|
||||
public static string PlexContent(JobSettings s)
|
||||
{
|
||||
return Get(s.PlexContentSync, Cron.HourInterval(6));
|
||||
return Get(s.PlexContentSync, Cron.Daily(2));
|
||||
}
|
||||
public static string PlexRecentlyAdded(JobSettings s)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ namespace Ombi.Settings.Settings.Models
|
|||
}
|
||||
public static string RefreshMetadata(JobSettings s)
|
||||
{
|
||||
return Get(s.RefreshMetadata, Cron.Daily(3));
|
||||
return Get(s.RefreshMetadata, Cron.DayInterval(2));
|
||||
}
|
||||
|
||||
private static string Get(string settings, string defaultCron)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue