title: Hangfire job is throwing an error when I start my project
body: <p>I am trying to schedule a Hangfire job like this:</p>
  <p>In my Startup.cs, I have this:</p>
  <pre><code>RecurringJob.AddOrUpdate(() =&gt; sb.AddSendItems(), &quot;0 7 * * 5&quot;);
  </code></pre>
  <p>And the method is async:</p>
  <pre><code>public async void AddSendItems()
  {
  
     //...add items to database and 3rd party scheduler
  
  }
  </code></pre>
  <p>It builds fine, but when I try to run it, I get this:</p>
  <pre><code>System.NotSupportedException
    Message=Async void methods are not supported. Use async Task instead.
    Source=Hangfire.Core
    StackTrace:
     at Hangfire.Common.Job.Validate(Type type, String typeParameterName, MethodInfo method, String methodParameterName, Int32 argumentCount, String argumentParameterName)
  </code></pre>
  <p>I checked the Hangfire documentation here, and they do support async:</p>
  <p><a href="https://docs.hangfire.io/en/latest/background-methods/index.html?highlight=asynchronous" rel="nofollow noreferrer">https://docs.hangfire.io/en/latest/background-methods/index.html?highlight=asynchronous</a></p>
  <p>Has anyone had this issue?</p>
  <p>Thanks!</p>