Re: restarting individual IN_ONESHOT rules

From: Matthew Miller <mattdm_at_mattdm.org>
Date: Tue, 28 Apr 2009 08:25:07 -0400

On Tue, Apr 28, 2009 at 10:25:48AM +0100, Euan Maxwell wrote:
> I have a development scenario which incron is pretty much perfect for.
> I want to watch a number of directories for new files coming in (via FTP).
> Such an event will see potentially many files being uploaded over a
> period of a few minutes. This is still classed as one event. I want
> to perform a number of actions as soon as the first file hits.
> Therefore, the IN_ONESHOT option is perfect for this.

IN_NO_LOOP with sleep?

-- 
Matthew Miller           blocked-address          <http://mattdm.org/>
Received on Tue Apr 28 2009 - 14:51:25 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST