Gateway Timer Script Runs Multiple Times

Hi,

I created a gateway timer script similar to this video, set up exactly same as in the video, (1000msec).
When I look at the log, it prints out 5 times every second(with timestamp increasing by 5)

Could anyone please explain why?

Looking at that, it appears to be running once every second based on timestamp 12:15:15 (hh:mm:ss). I do know that the log does not update right at the same moment that the log is printed. I believe that it only polls every 5 seconds or so. A better way to show that it is running exactly at the correct time, you may want to write a file to a folder on the gateway every second and then look at the time stamp.