Ara.T.Howard [mailto:ahoward / noaa.gov] wrote: > http://freepan.org/ruby/by-dist/fs-watcher/ > > check out the testsuite for examples > > you would probably use it like: > > > watcher = FileSystemWatcher.new("condor_outdir", "*") > watcher.sleepTime = 1 > watcher.start { |status,file| > if status == FileSystemWatcher::CREATED then > puts "#{ file } was created" > elsif status == FileSystemWatcher::MODIFIED then > puts "#{ file } was modified" > elsif status == FileSystemWatcher::DELETED then > puts "#{ file } was deleted" > end > } > > cheers. This is helpfully cool. Is it possible to run this as a service in windows, Ara? > > -a kind regards -botp