I need a script that will look at certain files and if the file is over 5 minutes old, remove it.
The files are located in /var/tmp
The file names can vary but always start with "poe" and ends with ".pid" so the script should look for files named "poe*.pid". An example name would be "poet0001.pid" or "poepp0002.pid".
I will be running this via cron on a IBM AIX machine.
Any help would be appreciated.