Well i have a job whch runs inevery 30 minutes. Quartz.net code :
ITrigger trigger = TriggerBuilder.Create()
.WithDailyTimeIntervalSchedule
(s =>
s.WithIntervalInMinutes(30)
.OnEveryDay()
.StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(0, 0))
)
.Build();
Hangfire code:
RecurringJob.AddOrUpdate(() => DoSomething(), "*/30 * * * *");
Both methods work on local as excpected, but on production server if website is inactive for example 2-3 hours jobs not triggering anymore. But if i go to my website next job will trigger. Is there any solution? I've to change something on iis or is it possible to solve the problem with code?