hangfire list recurring jobs code example
Example: hangfire list recurring jobs
List<Hangfire.Storage.RecurringJobDto> recurringJobs = new List<Hangfire.Storage.RecurringJobDto>();
recurringJobs = Hangfire.JobStorage.Current.GetConnection().GetRecurringJobs().ToList();
GetRecurringJobs() is an extension method. You need to add “using Hangfire.Storage” (the most common element missing in any C# documentation!).