Look at question 9 in the FAQ:
http://www.jessrules.com/jess/FAQ.shtml#Q9
Just make your "idle" fact include the current time (you can use
Jess's "time" function to get it). Then you can write rules that match
the current time as included in this fact.
On Feb 4, 2010, at 12:39 PM, Yasir Khalid wrote:
Hai There,
I am curious about a rule that the pattern (LHS) is depended on
timing event, what i meant the rule fired on specific time.
for example, a dummy and small program that should able to print out
"Good Morning" for every 8'Clock morning ,
I have tried to browse and see on the manual, i just could not find
any idea on how to do it, I am even a 'dirty' program, which create
recursive function which is called itself, and it has if statement
to check the is it 8'Clock, plus dummy rule, which call the that
particular function, and what i got long bunch of run time
error(Obvious... )
So is there any suggestion ?
--
- Yasir -
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
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].
--------------------------------------------------------------------