title: Job Stops Running?
body: <p>I have a job that I want to run every ten minutes. To schedule it, I use:</p>
  
  <pre><code>public static IScheduler _scheduler { get; private set; }
  
  ...
  
          ISchedulerFactory schedFact = new StdSchedulerFactory();
          _scheduler = schedFact.GetScheduler();
          _scheduler.Start();
  
          string cron = "0 0/10 * 1/1 * ? *";
  
          JobKey jobkey = new JobKey("Radar", "F");
          IJobDetail job = JobBuilder.Create&lt;RadarJob&gt;()
                                      .WithIdentity(jobkey)
                                      .Build();
  
          CronScheduleBuilder csb = CronScheduleBuilder.CronSchedule(new CronExpression(cron)).InTimeZone(TimeZoneInfo.Local);
          ICronTrigger trigger = (ICronTrigger)TriggerBuilder.Create()
                                                              .WithIdentity("Radar-Trigger", "G")
                                                              .WithSchedule(csb)
                                                              .Build();
          try
          {
              DateTimeOffset ft = _scheduler.ScheduleJob(job, trigger);
              Response.Write("Job Scheduled");
          }
          catch (ObjectAlreadyExistsException)
          {
              Response.Write("Job Already Exists!");
          }
  </code></pre>
  
  <p>It seems to work at first, the job runs fine every ten minutes. However, after an hour or so, it stops running. I log successes and errors, and I have no errors. What is causing my job to stop by itself?</p>
  
  <p>I am running IIS 7, .NET Framework 4.0, Using a Shared Hosting Plan from GoDaddy.</p>