i have a database i connect to remotely via remote database connector. I want to periodically check for updates to database every so often even while app is not running (in background) what would be the best way to accomplish this. And can anyone refer me to library or tutorial?