As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want to set two separate activiti timer events to fire on the 20th, 23rd and 26th of each month at 5AM. One is to occur in GMT and the other in IST timezone. What would the activiti time cycles for these be?
Activiti supports ISO 8601 standard on boundary & start timer tasks. Check this page - ISO 8601 - Wikipedia to see if any of those notations can satisfy your needs.
Ciju
Sounds like there's a chance you'll need six timers rather than two. Do let us know how you get on.
I had a look at how to do it using ISO8601 format on the wiki page but I couldnt see a way it can support my criteria of recurring on fixed days each month. I will post my findings of further research.
Actually you can use cron expressions too. See Activiti User Guide
Cron job gives you more power..
If you like the ISO format, like Ryan said, 6 timers can also do the job in the following format.
R/${dynamically-calculate-next-20th-using expression}/P1M" (repeat this 6 times for all different start times)