title: Running a Task Infinitely either in foreground and background
body: <p>I will be very thankful If someone make a classified answer for this. Even-though I have read more documents regarding this background execution, experienced a strange behaviors when I implemented those in coding.</p>
  
  <p>I have my application supporting the background modes (GPS) , and I can see that location updates are printed regularly in log. I have a NSTimer running which will send the location updates to my server every 1 hr. It is strange that the timer is working for many hours and suddenly it got stopped.</p>
  
  <p>I have two questions in my mind which I keep on asking me ,even-though I have read some apple documents.</p>
  
  <p>1 - Is it possible to run a task infinitely either in background / foreground using timers ? if the timers aren't the option , what API I can use to run task infinitely .</p>
  
  <p>2 - If the user have an option to disable Location Services for my app, I am gone  . I  don't want the user to disable the Location service for my particular app. Can that be done ?</p>
  
  <p>Plese HELP !!!!  </p>