Hi Demian,
As far as I remember you can use a CRON like expression in the timer
definition which will allow you to do that exactly.


On Wed, Sep 24, 2014 at 4:59 AM, Demian Calcaprina <calcacue...@gmail.com>
wrote:

> Hey Guys, I am trying to use to use the timer in the rule, but I don't
> fully understand it.
> I have a simple rule which says
>
> rule "Test"
>
> timer(int: 1s)
>     when
>        Something()
>     then
>        System.out.println("Something Happens");
> end
>
> And I insert 100 Someting() object, after 1 second I see 100 activations.
> - Can I do with the timer something like "run this rule once per minute"
> for example?
> - When does the timer start to run?
>
> Thanks in advance,
>
> Demian
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to