crontab file...
type crontab -e (this will open you crontab file for editing)
then, depending on what time you want it to go off, you set the time like so
0 7 * * * /Users/yourname/scriptsdir/alarm.pl
Basically, you all the other stuff the other guys told you, would go into a script...