title: How to create a scheduler class in Java
body: <p>I need to write a scheduler class which should be invoked every 5th, 15th and 30th minute of hour.</p>
  
  <p>How should I start working on this scheduler? I want to use Java 7.</p>
  
  <p>One way is to know the current time and then schedule calculating the difference of each timer.</p>
  
  <p>Is there any library or class which already does similar work?</p>