I'm trying to make a program that makes a sound every hour, how would I do this? 

I thought maybe constantly checking the system time and if it's equal to either "1:00 2:00 3:00 etc..." then play a sound, but I don't know how to do this, some help would be appreciated :)