title: Quartz.Net 2.0.1 Trigger
body: <p>I have a web application and I am trying to setup a trigger to start when the application has started and then trigger every 5 minutes</p>
  
  <p>Everything is within Global.asax - seemed like the right place to put it:</p>
  
  <pre><code>public class Global : HttpApplication
  {
      public static StdSchedulerFactory SchedulerFactory;
      public static IScheduler Scheduler;
      public static ITrigger ImageTrigger;
  
      protected void Application_Start(object sender, EventArgs e)
      {
          SchedulerFactory = new StdSchedulerFactory();
          Scheduler = SchedulerFactory.GetScheduler();
  
          Scheduler.Start();
  
          ImageTrigger = TriggerBuilder.Create()
                                       .WithIdentity("ImageTrigger", "Group1")
                                       .StartNow()
                                       .WithSimpleSchedule(x =&gt; x.RepeatForever().WithIntervalInMinutes(5))
                                       .Build();
  
          var imageJob = JobBuilder.Create&lt;DownloadImages&gt;()
                                       .WithIdentity("DownloadImages" , "Group1")
                                       .Build();
          Scheduler.ScheduleJob(imageJob, ImageTrigger);
      }
  ...
  }
  </code></pre>
  
  <p>So I assumed having a simple schedule use .WithIntervalInMiniutes() with cause the job to be invoked or have it got it massively wrong?</p>
  
  <p>P.s. I have also tried:</p>
  
  <pre><code>        AlertTrigger = TriggerBuilder.Create()
                                       .WithIdentity("AlertTrigger", "Group1")
                                       .StartNow()
                                       .WithCronSchedule("0 0/1 * * * ?")
                                       .Build();
  </code></pre>
  
  <p>Followed by screaming at the computer!</p>
  
  <p>Thanks in advance for your help.</p>
  
  <p>Matt</p>