mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Added the newsletter job to the UI and fully wired it up !wip
This commit is contained in:
parent
5ea81568e5
commit
ccd873584b
5 changed files with 22 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
using Ombi.Helpers;
|
||||
using System;
|
||||
using Ombi.Helpers;
|
||||
|
||||
namespace Ombi.Settings.Settings.Models
|
||||
{
|
||||
|
@ -35,6 +36,10 @@ namespace Ombi.Settings.Settings.Models
|
|||
{
|
||||
return Get(s.UserImporter, Cron.Daily());
|
||||
}
|
||||
public static string Newsletter(JobSettings s)
|
||||
{
|
||||
return Get(s.Newsletter, Cron.Weekly(DayOfWeek.Friday, 12));
|
||||
}
|
||||
public static string SickRageSync(JobSettings s)
|
||||
{
|
||||
return Get(s.SickRageSync, Cron.Hourly(35));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue