script to execute a command based on the last modified time of a folder
I need a script that executes a command based on a folder's last modified time.
if "/var/data" was modified in less than an hour then "/usr/local
/etc/searchd stop" should be run
can we use "find -mmin +60 -type d" in conjunction with second command
Last edited by midadala; 10-19-2010 at 06:29 AM.