title: ScheduledExecutorService stops a scheduled runnable task and then reruns fine after some time
body: <p>I have a DropWizard application where we are using Managed Objects(<a href="https://www.dropwizard.io/0.6.2/manual/core.html#managed-objects" rel="nofollow noreferrer">https://www.dropwizard.io/0.6.2/manual/core.html#managed-objects</a>) capability provided by DropWizard. We have used ScheduledExecutorService to scheduled a Runnable from the class which implements Manage which runs very much fine in the time intervals specified(90 mins) but abruptly stops after some runs(there is no particular number to it) and then after some time gets re-triggered again and starts functioning normally. 
  I have seen that there are no exceptions happening in between so that the run would stop and not do the runnable task that it is supposed to do. 
  Has anyone encountered this issue earlier and can help with the issue.</p>
  
  <p>Here is how we are scheduling it.</p>
  
  <pre><code>scheduledExecutorService.scheduleAtFixedRate(runnableTask, 1, 90, TimeUnit.MINUTES);
  </code></pre>