[Ilugc] Trigger for Directory

  • From: apsivam@xxxxxxxxx (Sivanandhan, P.)
  • Date: Wed Jan 6 12:03:34 2010

On Wed, Jan 6, 2010 at 11:55 AM, S.Selvam <s.selvamsiva@xxxxxxxxx> wrote:

Hi all,

 I need to monitor a directory and when a new file is put into that
directory,i need to capture that file name and process it.

 (Something like a database triggers )

 Any points on this will be useful .

Note:I may store all the filenames and check for any new file after every X
minutes,but that does not seem like a good way for me.

--
Regards,
S.Selvam


incron (an inotify based scheduling system) should help you

http://inotify.aiken.cz/?section=incron&page=about&lang=en

-- 
Regards,
Sivanandhan, P.

Other related posts: