Dependig on your timing requirements (how long do you want the buzzer to be active, how long is the pause in between, how often do you want the buzzer to sound) you may want to look into a small microcontroller to control the timing by a few lines of software.