Answer by MikelThief for How can we let recurring job only trigger on one...
You may either use paid Hangfire.Pro package with Mutex feature or decorate your job function with [DisableConcurrentExecution] attribute.
View ArticleComment by MikelThief on How to ensure Hangfire jobs scheduled just once in...
@LexLi what kind of issues are you talking about in the article? This is very low-effort article since it does not explain why Hangfire is bad and recommends to follow an approach which does not cover...
View ArticleComment by MikelThief on Hangfire.Raven usage in ASP.NET 4.7 / Sparrow exception
did you make sure that dll is placed next to the dll you run?
View ArticleAnswer by MikelThief for How to ensure Hangfire jobs scheduled just once in...
Please have a look at Hangfire.RecurringJobCleanUpManager. It might give you an example of how to deal with rescheduling recurring jobs.There is no magic under the hood. It basically fetches all...
View ArticleAnswer by MikelThief for Delete all the Hangfire jobs
To delete recurring job (what i think you meant) you should firstly ask your storage to provide you all recurring jobs you have set:jobStorage.GetConnection().GetRecurringJobs(); // where jobStorage is...
View ArticleComment by MikelThief on Sudden memory consumption jump resulting in out of...
Thanks for clarification. I found out that somehow StreamReader is responsible for throwing the exception. Even if i apply DiscardBufferedData() it does not help. Seems it has some problems reading...
View Article