code: public void shutdown () throws SchedulerException
    {
      try
      {
        // Shutdown but wait for jobs to complete
        m_aScheduler.shutdown (true);
        LOGGER.info ("Successfully shutdown GlobalQuartzScheduler");
      }
      catch (final SchedulerException ex)
      {
        LOGGER.error ("Failed to shutdown GlobalQuartzScheduler", ex);
        throw ex;
      }
    }
docs: Shutdown the scheduler and wait for all jobs to complete.
  
  @throws SchedulerException
  If something goes wrong