title: Hangfire Schedule Background tasks for different server
body: <p>I have a .Net application that utilizes multiple Hangfire servers.</p>
  
  <p>I want to be able to have one Hangfire RecurringJob trigger multiple BackgroundJobs that can be picked up by any available server. Currently whenever I schedule Background Jobs from a Hangfire Job only the server that scheduled them will process them.</p>
  
  <p>For example, I have 5 Hangfire Servers and 10 tasks.
  I would want there to be 2 tasks on each Hangfire server, instead I am seeing 1 server with 10 tasks and 4 with 0.</p>
  
  <p>So again I have 5 Hangfire servers, all using the same database, and 1 RecurringJob, this RecurringJob just reads some files and enqueues several background jobs.</p>
  
  <pre><code> foreach (var file in reportSourceSetFileList)
   {
        _logger.LogInformation($"Queuing Background job for: {file}");
  
        var backgroundJobId = BackgroundJob.Enqueue&lt;IJobHandler&gt;(job =&gt; job.ProcessFile(file, files, null));
   }
  </code></pre>
  
  <p>However, only the Hangfire Server that ran the RecurringJob will process the Enqueued job.</p>
  
  <p>How can I have those Enqueued jobs be processed by any of my 5 Hangfire Servers and not just the one that queued them?</p>