[discuss-fsugtsr] Re: Calling python script

  • From: Saju M <sajuptpm@xxxxxxxxx>
  • To: discuss-fsugtsr@xxxxxxxxxxxxx
  • Date: Sun, 10 Oct 2010 00:44:05 -0400

save modified date and check weather it changed or not at each
interval, u have to run a thread or cron for that.

On 10/9/10, Tom varghese <tomkonikkara@xxxxxxxxx> wrote:
>> Maybe, you are looking for this:
>> http://github.com/seb-m/pyinotify
>>
> Thanks. That program is a full fledged one. I just want a few lines of code
> that checks the file modified or not. I aim for a sampling technique (
> checking whether file is modified or not in each second or something)
> instead of interrupt (I think it will reduce the code complexity). Expecting
> reply.
> --
> Be free, feel freedom...
> http://opentechlab.blogspot.com
>

Other related posts: