Hi All,
How does the time out for timers actually work ??
* For example, the timer which i am using runs for every 10 minutes.( Timeout = 10 minutes) and i understand that If the timer takes more than the defined standard time ( i.e 10 minutes) it gets aborted and logs in to the error log.
* In some cases it is logged that the timer has taken 10 min 8 sec or something like that, if this happens does the next run depends on this time or the time that is configured for the timer.
Thanks and Regards,
Mamini.
Hi Mamini,
In your example, at 10:05 an event will go to the scheduler but it will not be launched since the timer is already running. When it ends at 10:16, the 10:05 timer event in the queue will be launched by the scheduler (remember, it can take some seconds before it actually runs).
Nonetheless, you should analyze if it makes sense that you have a timer that takes longer than the intervals you schedule it.
Best regards,
João Marques
João Marques wrote:
Thank you
Regarding the first question, the timeout for timers are configurable although as a good practice you should avoid long timers (more information see here).
Regarding the second question, when a timer is to be launched (it is time to be launched, you launch it manually or programatically or even a retry after timer fails) an event is placed in a queue for the scheduler service to launch, that's why the time it takes for it to be launched can vary (usually it takes some seconds to run).
João
Hi joao,
For Example,
The time out = 15 minutes
scheduler = 5 min ( i.e runs for every 5 minutes)
* if the timer starts at 10 : 00 : 00 and ends ends at 10 : 16 : 00 , it gets aborted and does the next run runs according to the scheduler i.e if it is at 20:00 ( next instance ) ?? does it work like this ??
Hi João Marques
I'm facing the same scenario- could please explain me how could i implement or change the scheduler timings.
Actually it happens in production environment
Timer timeout in minutes -10
The effective schedule in service center - 00.00 t0 23.55 ( 5 minutes once its schedulded)
error in log : Scheduler Service: Error executing request http://127.0.0.1:80/CoAService/ for Timer TriggerNotifications. Request duration = 607 secs. [retry 4 of 3 scheduled]
Its time out in 10 minutes 17 seconds
could you please suggest any solution
Thanks in advance
Soundarya