|
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]
|