[rules-users] Define a time event
Claudio Rainoldi
claudio.rainoldi at gmail.com
Wed May 7 07:12:31 EDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080507/4593e230/attachment.html
More information about the rules-users
mailing list