title: EJB @Schedule wait until method completed
body: <p>I want to write a back-ground job (EJB 3.1), which executes every minute. For this I use the following annotation:</p>
  
  <pre><code>@Schedule(minute = "*/1", hour = "*")
  </code></pre>
  
  <p>which is working fine.</p>
  
  <p>However, sometimes the job may take more than one minute. In this case, the timer is still fired, causing threading-issues.</p>
  
  <p>Is it somehow possible, to terminate the scheduler if the current execution is not completed?</p>