Right design/code approach to call a method every N hours
Hi there,
I have a small utility app that's syncing some data from my server. I have a sync method and I would like my app calls this method automatically at certain time on a day.
What is best approach to this? I know I could deploy a timer or something but I don't know if this is the right way of doing this kind of thing...? I want the method to be executed every day at 6AM and 6PM and maybe in future every 4 hours or so...
Any tips and pointers to the right place in ADC documentation would be appreciated.
Thanks,
Jume
|