fixed hangfire exception

This commit is contained in:
tidusjar 2017-04-25 20:29:46 +01:00
commit 47bcb83a27

View file

@ -14,7 +14,7 @@ namespace Ombi.Schedule
private IPlexContentCacher Cacher { get; } private IPlexContentCacher Cacher { get; }
public void Setup() public void Setup()
{ {
RecurringJob.AddOrUpdate(() => Cacher.CacheContent(), Cron.Hourly, TimeZoneInfo.Utc, "Cacher"); RecurringJob.AddOrUpdate(() => Cacher.CacheContent(), Cron.Hourly, TimeZoneInfo.Utc, "cacher");
} }
} }
} }