Hi,
I'd like to know if there is a best strategy to handle scheduled tasks.
For example, schedule a service for each task, or schedule a service to run each 10 minutes or....
My objective is: build an agenda and todo app with notification.
I found the following recomendation that I think is the best.
"Each time that the service is started you should:
- Find all the tasks that were not run yet and their time has passed (or is now), and run them.
- Find the time of the next task and schedule the service with StartServiceAt.
It is possible that the service will be started while it is already running a previous task. Your code should be able to cope with this."
Thank you very much for your time and help!