I'd do one of two things, use a scheduler (I like T-Minus Ten, but there are other cron-like apps for the Mac) or if that's no good, you can have an AppleScript that remains open, sleeping most of the time, and running the script every x amount of minutes. You might try the MacPerl list or archives for more specifics, or helpful individuals -
http://www.macperl.org/