title: Recurring jobs with Hangfire and Asp.Net Core
body: <p>I have serivce which has some method which I would like to be Recurring job.</p>
  
  <p>I know that I can use hangfire in my Startup.cs e.g:</p>
  
  <pre><code>RecurringJob.AddOrUpdate(() =&gt; Console.WriteLine("I'm a recurring job"), Cron.Minutely);
  </code></pre>
  
  <p>But the question is how can I use my services here? Should I use somehow here (dependency injection ?) or in the other place?</p>
  
  <p>Maybe should I put some cron values to the appsettings.json ?</p>