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