Robert Robert - 1 year ago 163
C# Question

Hangfire recurring tasks under minute

Is there a way to set hangfire recurring jobs every few seconds?
I do not seek a solution where fire and forget task creates another fire and forget task, and if not, what are suggested alternatives?

Answer Source

Hangfire didn't support less than a minute for recurring jobs. Why? Imagine if they allow less than a minute, let say 1 sec. How frequent should hangfire check recurring jobs in db? Bottom line is, it my hurt your database. See.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download