linux supports the inotify command. You use it to track the activity of the file — change the file, create the file, whatever you want, whenever you want.
The specified find command will not work on a finished solarium. This is normal for Linux. You have two options in Solaris:
go to www.sunfreeware.com and download gnu coreutils, which will install gnu find (the above search version) to /usr/local/bin
write a script that uses the touch command, wait more than 60 minutes, then check the file, the only problem is that this script runs in the background forever, you can avoid this if you know some perl to generate a timestring suitable for touch -t [time string] , to create a file with a time of one hour in the past This is the version forever:
and true
do touch dummy sleep 3615
[file_i_want_to_test -nt dummy] && & & echo 'file blah changed' | mailx -s 'file modified' me@myco.com
done
source share