In a .NET Core(2.1) application, it uses Hangfire library(1.7.24) to schedule a recurring job. It uses SQL server as storage for Hangfire. The recurring job works 1-2 times then it throws error. So trying to handle the error means if any error occurred I need to take some action but it doesnt hit C# try-catch block.
Following is code snippet:
RecurringJob.AddOrUpdate(“Notify”, () => new Biz().ScheduleInactiveJob(), “*/30 * * * *”, TimeZoneInfo.Utc, “Notify”);
Preformatted text