Topic: Background Directory Watcher

Here's what I'm trying to accomplish.
1. Rails "stack" (not rails server) will be loaded on startup and unloaded on shutdown.
2. Directory is "watched" for new reports (should be done in background via daemon, etc...).
3. When a new file is added, some code will run to process the report (index, database info entry, etc...).
We'll be using Ferret for the indexing of the reports.
This will be running on a Linux server.
I'm looking at a few different options (incrond, inotify, rb-fsevent)
Any help is much appreciated.

Last edited by KevinInTx (2011-10-18 15:25:03)