On Wednesday 24 November 2010 13:43:52 Genadi Saltikov wrote:
> Hey guys!
>
> I am trying to use this great cron application, for triggering a script
on
> file upload via ftp.
>
> I tried following this:
http://inotify.aiken.cz/hypermail/incron/0055.html
>
> Problem is, the event IN_CLOSE_WRITE is triggered on other events
too.
> For example, if I open a file with vim (without modifying it, doing q!
to
> quit), it would still mail me.
>
> Am I doing something wrong? or perhaps there is a better strictly
defined
> event?
> Also, is there a clear list of possible events? reading it from the .h file
> is not very clear.
>
>
> Thanks!
Have you tried IN_CREATE event?
Received on Tue Jun 05 2012 - 22:14:21 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST