title: Hangfire single instance recurring job
body: <p>I am trying to use Hangfire to run a recurring job in the background that polls data from another website, the issue is that I don't want the recurring job to run if the previous job is still running.</p>
  <p>I've read through the documentation but can't seem to find the answer. Is there a way to have a recurring job that runs every 10 minutes but skips if the previous task is not done yet?</p>
  <pre class="lang-cs prettyprint-override"><code>public void Configuration(IAppBuilder app)
  {
      app.MapSignalR();
  
      // Hangfire
      GlobalConfiguration.Configuration
          .UseSqlServerStorage(&quot;DatabaseContext&quot;);
  
      app.UseHangfireDashboard();
      app.UseHangfireServer();
  
      RecurringJob.AddOrUpdate(&quot;site-parser&quot;, () =&gt; SiteParserService.RunAll(), Cron.Minutely, TimeZoneInfo.Utc);
  
      ConfigureAuth(app);
  }
  </code></pre>