From: ara.t.howard@... Date: 2006-10-27T04:40:03+09:00 Subject: Re: Ruby fs watcher? On Fri, 27 Oct 2006, Paul Lutus wrote: > ara.t.howard@noaa.gov wrote: > > / ... > >> in summary, having written three or four such systems and ultimately >> arriving at the code for dirwatch, which we've used in production for 24x7 >> satellite ingest systems for several year, i can assure you the task isn't >> quite that trivial. > > Yes, but the OP wants to know how to do it, not produce a mature, robust > version. He may want to learn the programming aspects on his own, make his > own mistakes. From the content of his post, he didn't bother to yield any > time during execution, therefore his script ate up the CPU and consequently > failed. > > At that level, a simple solution really is simple. i guess you're right. i get defensive at the mere suggestion of simply event or cron based processing systems without mutual exclusion - i've debugged way too many of them! cheers. -a -- my religion is very simple. my religion is kindness. -- the dalai lama