title: How to avoid two jobs running at the same time in Quartz?
body: <p>I have tritten below code in which I am running two jobs. First with the interval of 10 seconds and the other with the interval of 3 seconds. But ultimately at some point they will execute at the same time. Is there any mechanism to avoid this situation</p>
  
  <pre><code>    JobDetail jDetail = new JobDetail("Job1", "group1", MyJob.class);
      CronTrigger crTrigger = new CronTrigger("cronTrigger", "group1", "0/10 * * * * ?");
      sche.scheduleJob(jDetail, crTrigger);
  
      jDetail = new JobDetail("Job2","group2",MyJob2.class);
      crTrigger = new CronTrigger("cronTrigger2","group2","0/3 * * * * ?");
      sche.scheduleJob(jDetail, crTrigger);
  </code></pre>