Background recursice task

Hi there!
Merry Xmas for all!

I need some help to achieve some that I need to do in my app. I need to implement a service that runs in the background, for instance: every five minutes.
I’m not sure if the setTimeOut() function let me do this.

Any other recommendations?

Thx by the help!

What do you want the service to do?

See for example:


Hi @robinyo, Thanks for the info!

My app uses the GPS background plugin to record the position of the user, then I need to implement a method that checks, every 5 minutes for instance, what record hasn’t been sent and send it to the Web Service.