Gateway Event Timer sendMessage not work

You can't use system.perspective.sendMessage() outside of Perspective scripts. Gateway events are outside of Perspective. You must use system.util.sendMessage(...., scope='S') to deliver to a perspective session message handler, which can then relay with system.perspective.sendMessage() to the actual perspective scope you wish to target (if not session).

See this discussion: