Trigger a metadata refresh when we finish scanning the libraries

This commit is contained in:
Jamie Rees 2018-04-30 14:45:42 +01:00
parent 6b2e9760e3
commit 0c7a13f728
4 changed files with 14 additions and 5 deletions

View file

@ -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)