# Gateway Event Not Executing

**URL:** <https://forum.inductiveautomation.com/t/gateway-event-not-executing/93334>\
**Category:** Ignition\
**Created:** [July 17, 2024, 1:02pm UTC](https://forum.inductiveautomation.com/t/gateway-event-not-executing/93334 "2024-07-17T13:02:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.schultz](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@tim.schultz](https://forum.inductiveautomation.com/u/tim.schultz)\
**Post date:** [July 17, 2024, 1:02pm UTC](https://forum.inductiveautomation.com/t/gateway-event-not-executing/93334/1 "2024-07-17T13:02:17Z")

</div>

I have a gateway event that is supposed to trigger every minute (collecting values from several remote systems). I implemented it first as a timer script and then as a scheduled script. Every 1-2 weeks, it seems to simply stop executing with no errors.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/1677727222dd9a73df84e7abd684f14ae6a9e2b9.png)

In this screenshot you can see it last executed 17 hours ago, successfully. There is nothing in the logs, it just seems to stop.

Any ideas?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 17, 2024, 1:05pm UTC](https://forum.inductiveautomation.com/t/gateway-event-not-executing/93334/2 "2024-07-17T13:05:03Z")

</div>

Add some logging to the start of the event so you can get a hint what is going on. It might be generating the same error on every attempt. Such identical errors get suppressed in the logs. Logging your own errors with `try:` - `except:` blocks avoids the repeat error suppression.
