Using RTC to trigger events/commands over time

Hi I have been looking around for a while now for example code or ideas on how to trigger commands based on RTC time. I was wondering if anyone here has any experience or examples?

Equipment: I have both DS1307 and DS3231 RTC modules.

Basic requirement: An input is triggered which executes some commands (flashes an LED and displays some info on a display) and starts a timer with RTC time or unix time for around an hour that then triggers a second set of commands (sounds a buzzer or sets a software flag) this alert can be snoozed for about an hour by pressing a button.

The only part I have trouble with so far is the timer that then executes a command. Any help or examples would be appreciated. Thanks in advance.

Have you examined the TimeAlarms library?
http://www.pjrc.com/teensy/td_libs_TimeAlarms.html