I've been tasked with creating a monitor to watch out for "stale" files in a queue.
Essentially, no file should be in this queue for longer than 10 minutes. If it gets behind, the whole process backs up. Essentially, I need a template which looks at every file time/date stamp, compares them to what the clock says at the time of examining the file, then can generate an event if the difference between the two is greater than 10 minutes.
Any suggestions? Does any template already perform this function?