I'm making app where user set some point of time, for example 10 am, and at 10 am I want to execute some code, for example I want to print "Wake up!". Which type of background working or something different should I use? I want to add also options to set different days when code have to execute.
PS. I want to it will execute even while app will be terminated, something like alarm clock