run a service every minute??
hi, i want to run a gps service every 5 minutes once the service is invoked by a button i created. So, i have made 2 local storage items (one for the longitude ('long') and one for latitude ('lat') to map to. Then i want to run a JS to run the gps service every 5 minutes to update on its own the local storage items, then Im gonna have another REST service to send back those parameters to the server. So i need to run a JS on that service too - the service to be invoked every 5 mins. WHat would the JS code look like for these functions?