Support Topics Documentation Slack YouTube Blog

Timer stops working

app id “4BAEABFC-6FEF-EB39-FFE3-162B0D48F300”
in the last few days it was several occasions when timer (“pendedjobsTimer”) just stops working out of blue. Code redeploy helped but then it would happen again after some time. (currently timer is launching fine)

Hi @yuriy

We are looking into it.

Regards,
Maksym

How did you determine that timer stops working? Was it disabled or it didn’t run the code? @yuriy

Regards,
Maksym

it wasn’t disabled, it was shown as enabled in console, but log entries for timer starting and executing were missing from log file (and data in tables wasn’t updated). Timer was set for every 5 seconds run and missing log entries showed that it wasn’t run for a few hours. After code redeploy log entries appear (no changes in code were made)

Can you please say the exact time the timer stopped working so I could check the logs? @yuriy

For example on May 11:
2020-05-11 07:37:51,885 | SERVER_CODE | INFO | [23097] [77CCD28F-F73E-4C5B-FFE4-CEFE20F5C700] [INVOKE TIMER] pendedjobsTimer
2020-05-11 09:32:06,627 | SERVER_CODE | INFO | [4577] [4E88B92A-12FC-363E-FF1F-51F52C84EC00] [INVOKE TIMER] pendedjobsTimer

it run last time on 07:37 we found that it’s not working in about two hours, so I redeployed and it started working again on 09:32

but then again, same May 11, you can see last time it was run
2020-05-11 18:05:32,189 | SERVER_CODE | INFO | [29716] [DFE836C3-84D0-F0BE-FFF7-6A3D97195000] [INVOKE TIMER] pendedjobsTimer and stopped working again

I’ve created the internal ticket BKNDLSS-21509. We will investigate this issue and fix it as soon as possible.

Best Regards,
Maksym

Hi, Yuriy.
Do you still experience the problem with the timer?

Hi Oleg. I was able to rewrite code and get rid of this timer completely