The task is to make a method that works at a certain hour.
I suppose you need to do this in the asynchronous method (so as not to interfere with the main program). There is only a thought that after some time to check from the system what time (cycle) and, if the hour is needed, then perform some function, but is there really no other way? In case it takes not an hour, but a minute.
question@mail.ru
·