Applescript run code at specific time

This is just a slightly more efficient re-hash of the existing answer...

set gIsThisTime to false

repeat until gIsThisTime is true
    delay 60
    set myTime to time string of (current date)
    if myTime > "1:15:00 pm" and myTime < "1:20:00 pm" then
        set gIsThisTime to true
    end if
end repeat

set myDate to date string of (current date)
set myDateTime to myDate & " - " & myTime
display notification "time = " & myDateTime

Notes:
leaving out am/pm means it will trigger on either am or pm, whichever it hits first
it doesn't work on 24-hour clock, so 13:15:00 will not trigger