I think that the entry should be written cron: * 0-59/1 ...
-W On 07/12/2011, Olle Martensson <[email protected]> wrote: > Thanks for answering. > > I expect the condition of the rule to be evaluated every minute by the > cron timer. > Yes the condition is true, that's why I'm puzzled. Maybe I have just > misunderstood the way that timers work. > > What I want to achieve is: > > I want an event to represent a window in time and every minute that window > is replaced by a new one. I want to be able to track a certain type of > event that has happened during this window in time. > I'm not looking for sliding windows. > > BR // Olle > > On 12/7/11 1:42 PM, "Wolfgang Laun" <[email protected]> wrote: > >>When do you expect this to fire? Is the condition true? >>-W >> >> >>On 07/12/2011, ollem <[email protected]> wrote: >>> Hi! >>> >>> I have a problem with getting cron based timers to start running. >>> The rules compiles just fine it's just that the timer never executes the >>> rule. >>> When I use "timer ( int: 1m )" it works fine but not with cron timers. >>> My rule looks like the following: >>> >>> rule "whatever" >>> timer(cron:* 0/1 * * * ?) >>> when >>> .. >>> >>> -- >>> View this message in context: >>> >>>http://drools.46999.n3.nabble.com/cron-timer-not-running-tp3567205p356720 >>>5.html >>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>> _______________________________________________ >>> rules-users mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >>_______________________________________________ >>rules-users mailing list >>[email protected] >>https://lists.jboss.org/mailman/listinfo/rules-users > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
