Hi everyone,
i'm using drools in .net version. I'd want that at a certain hour a rule has
to be fired.
For example:
when Time(hour==22,minute==0) Lamp(status==1)
then
Console.Writeline("It's late,turn off the light and go to bed")
where time is a class that return the current hour;
I've tried this code but nothing happens at 22.00.
Is there any solution, or i have to use an external class timer and execute
fireAllrules command for the hour that i'm interesting for?
Please,can somebody help me??
Cla