I've got a bash script which detects a failed system component running on a unix box. The script sends out an email on failure. The script runs via run every minute (via cron). What's the easiest way to throttle sending the alerts to something like every 15 minutes?
Could I create/update a file when I send an alert and only send the file if the date of said file is so many minutes old?