On Wed, Mar 11, 2009 at 3:30 PM, Tanja Vicovac
<[email protected]>wrote:

> Hi,
>
> I have to create a KBS with a fact-file, which is extended every 10
> minutes. I think it's possible to check in a certain intervall if the
> facts-file is changing or not (like polling), but is there another
> possibility?
>

That's what the UNIX utility tail (option -f) does, so I guess there isn't a
better way ;-)
You may find its C code when you google for tail.c.

How does JESS recognize when facts in a fact-file are changing (example)?
>

Jess expects the facts to be inserted/added to its working memory. I you
have facts saved or assembled on a file, you have to  call (load-facts ...)
to add all the facts from this file at some appropriate time.

-W


>
> Thanks for advance,
> Tanja
>
>
>
> --
> Dipl.-Ing. Vicovac Tanja
> Forschungsgruppe Ingenieurgeodäsie
> Institut für Geodäsie und Geophysik
> Technische Universität Wien
> Gußhausstraße 27-29 / E128-3
> A-1040 Wien
>
> E-mail:   [email protected]
> Web:      http://info.tuwien.ac.at/ingeo
> Tel.:     (+43)-(0)1-58801-12844
> Fax:      (+43)-(0)1-58801-12894
>
>
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
> in the BODY of a message to [email protected], NOT to the list
> (use your own address!) List problems? Notify [email protected]

Reply via email to