title: Quartz - How to shutdown and restart the scheduler?
body: <p>I am getting the scheduler as follows:</p>
  
  <pre><code>StdScheduler schedulerBean = (StdScheduler) ApplicationContextUtil.getBean(schedulerBeanName);
  schedulerBean.start();
  </code></pre>
  
  <p>and later </p>
  
  <pre><code>schedulerBean.shutdown();
  </code></pre>
  
  <p>after executing few other codes, then i am calling schedulerBean.start() again.</p>
  
  <p>Now the code throws the error - "org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called"</p>
  
  <p>Could you please let me know how to fix the problem?</p>
  
  <p>Thanks in advance,
  Kathir</p>