[Wellington-pm] Meeting Tonight

Dan Horne dan.horne at redbone.co.nz
Tue Jul 13 19:05:43 PDT 2010


To be honest, I just pinched the logic from CA Autosys, the scheduling tool
that the old warehouse uses. Linux::Inotify looks much more elegant, but we
need to work across SAMBA and NFS, and as Andrew points out it may not work
for us.

On 14 July 2010 13:04, Grant McLean wrote:

>
> Also, you were talking about your strategy for watching an incoming
> directory and checking when a file stabilises (no writes for 'n'
> seconds).  I recently implemented a directory watching daemon using the
> Linux::Inotify module.  The cool thing about that module is it allows
> fine-grained control over the events you're interested in.
>
> So in my case I subscribed to 'IN_CLOSE' and 'IN_MOVED_TO' events which
> means I only get notified when a file is closed (ie: the client has
> finished writing) or renamed.  You'd need to try it out to see how it
> interacts with SAMBA but it might be a useful solution.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20100714/d69ce55e/attachment.html>


More information about the Wellington-pm mailing list