mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Added the ability to purge/remove issues
This commit is contained in:
parent
6f02c38a20
commit
dffd27d804
14 changed files with 200 additions and 4 deletions
|
@ -57,6 +57,11 @@ namespace Ombi.Settings.Settings.Models
|
|||
return Get(s.LidarrArtistSync, Cron.Hourly(40));
|
||||
}
|
||||
|
||||
public static string IssuePurge(JobSettings s)
|
||||
{
|
||||
return Get(s.IssuesPurge, Cron.Daily());
|
||||
}
|
||||
|
||||
private static string Get(string settings, string defaultCron)
|
||||
{
|
||||
return settings.HasValue() ? settings : defaultCron;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue