title: How to trigger events in java at specific date and time?
body: <p>I need to send sms to few mobile nos at specific date and time. e.g. I will have a list of dates and times and list of corresponding mobile nos. as below.</p>
  
  <pre><code>Date                Mobile
  10th April 9 AM     1234567890
  10th April 11 AM    9987123456,9987123457
  11th April 3.30 PM  9987123456
  </code></pre>
  
  <p>and so on.</p>
  
  <p>I know, java has cron schedulers which can run at specific schedule. </p>
  
  <p><a href="http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html" rel="noreferrer">http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html</a></p>
  
  <p>I can run a job which can keep on checking the time and then if the current time matches with time in above list, send the sms.</p>
  
  <p>But in this case I will have to keep on checking all the time. </p>
  
  <p>Is there any way, i can fire those events/sms directly at given time. Something like registering jobs for each of the date time and firing those at that time instead of having a job that runs continuously to check for date times ?</p>