title: java quartz stop schedule after first exception
body: <p>I have a quartz job:</p>
  
  <pre><code>public class GlobalIdleMonitorJob extends AbstractJob {
  
      @Override public void execute(JobExecutionContext context)
              throws JobExecutionException {
          try {
              getJobService().processUserIdle();
          }catch(Exception e){
              getLogger().error("GlobalIdleMonitorJob",e);
          }
      }
  }
  </code></pre>
  
  <p>This job runs every X seconds. I want this job to stop after first failure. In other words, if </p>
  
  <pre><code>getJobService().processUserIdle();
  </code></pre>
  
  <p>threw an exception, I want this job not run anymore, only after manual restart or web app server restart. Should I throw a special exception in catch block or how to configure it?</p>