well, that's a lazy method, wich can slow a game, and will not be executed at 1:00 AM exactly for exemple.
well, first off, there are 30 steps i think in an alarm for 1 second. Figure out how many seconds there are in an hour and times it by 30, thats the duration of the alarm. And then at the end of that alarm, set it so that it will perform the events u want it to, and then reset that same alarm.
Better solution, however this will be executed more than 1 time
So maybe :
if current_minute=00 and current_second=0
But that will be executed 30 times...