You are here: Re: monitor file (inode) changes effectively, how? « PHP Programming Language « IT news, forums, messages
Re: monitor file (inode) changes effectively, how?

Posted by Colin McKinnon on 12/22/06 23:15

Johannes Kiehl wrote:

> Hi,
>
> I want a PHP script to "wake up" as soon as a file in a directory has been
> modified (by some other script). The obvious solution that comes to mind
> would be a ( readdir, filectime, maybe sleep ) loop, but I am concerned
> about CPU and filesystem load.
>
> Any recommendations?
>
> thanks to y'all,
> Johannes
>

Dazuko, inotify, FAM - it kinda depends what you are running. Try Google for
more info.

C.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация