Which method is better to use
<p>In my application I need to send <code>SMS</code> on a regular interval of 5 minutes. I can use a thread that will run in background using the <code>wait()</code> method, then I can wait for 5 minutes and send <code>SMS</code>  at an interval of 5 minute.</p>

<p>I can also use a repeating alarm with 5 minute interval and then send the <code>SMS</code>. 
Which one is better to use?</p>
