title: HangFire recurring task data
body: <p>I am coding a MVC 5 internet application and am using <code>HangFire</code> for recurring tasks.</p>
  
  <p>If I have a Monthly recurring task, how can I get the value of the next execution time?</p>
  
  <p>Here is my code for the recurring task:</p>
  
  <pre><code>RecurringJob.AddOrUpdate("AccountMonthlyActionExtendPaymentSubscription", () =&gt; accountService.AccountMonthlyActionExtendPaymentSubscription(), Cron.Monthly);
  </code></pre>
  
  <p>I can retrieve the job data as follows:</p>
  
  <pre><code>using (var connection = JobStorage.Current.GetConnection())
  {
      var recurringJob = connection.GetJobData("AccountMonthlyActionExtendPaymentSubscription");
  }
  </code></pre>
  
  <p>However, I am not sure as to what to do next.</p>
  
  <p>Is it possible to get the next execution time of a recurring task?</p>
  
  <p>Thanks in advance.</p>