How to run only one job concurrently?
<p>I have one hangfire server with ~50 recurring jobs. Hangfire setting up on IIS like in <a href="http://docs.hangfire.io/en/latest/deployment-to-production/making-aspnet-app-always-running.html" rel="noreferrer">this example</a>.
Recurring jobs added to hangfire in startup.cs like this:</p>

<pre><code>RecurringJob.AddOrUpdate(job.desctiprion,
            () =&gt; job.startJob(), 
            job.cron, 
            TimeZoneInfo.Local);
</code></pre>

<p>I need to add new recurring job which running every minute. But there is little chance that this job will be running longer minute. My goal - provide to concurrently work only one exemplar of this job.</p>

<p>What solutions are there? As I understand need something like queue with one thread, but queues don't support thread settings.</p>