<div>Hi everyone,</div>
<div>i'm using drools in .net version. I'd want that at a certain hour a rule has to be fired.</div>
<div> </div>
<div> </div>
<div>For example:</div>
<div> when Time(hour==22,minute==0) Lamp(status==1)</div>
<div>then</div>
<div>Console.Writeline("It's late,turn off the light and go to bed")</div>
<div>where time is a class that return the current hour;</div>
<div> </div>
<div>I've tried this code but nothing happens at 22.00.</div>
<div>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?</div>
<div>Please,can somebody help me??</div>
<div> </div>
<div>Cla</div>
<div> </div>