I would like to create a very long running background service, and it needs to run some code periodically, so I decided to use Timer.scheduleAtFixedRate for tha
Timer.scheduleAtFixedRate