cancel
Showing results for 
Search instead for 
Did you mean: 

Running timer catching events on a set date

jsilva
Champ in-the-making
Champ in-the-making
Hello, everyone.

I'm trying to get a timer catching event to run on the 10th next month. However, when testing this, I haven't been able to get it to run. I've tested it using two approaches: a) setting the timer to a date a few minutes from now or b) creating a time cycle with a start date in the past, and a period which would make it fire a few minutes from now. The timer did not fire using either approach. So my question is: do timer catching events only work with a time duration? Is this a bug? A feature?

I've attached a unit test showing my problem. You will need to adjust the time on the timers so it they will run a few moments after the process starts.
1 REPLY 1

mansour_taok
Champ in-the-making
Champ in-the-making

you can use a cron expression to set your date :

use :
<timeCycle>0 0 0 10 7 ? 2013</timeCycle>

instead of
<timeCycle>R/2013-07-29T17:00:00Z/P1M</timeCycle>