Gateway Scripts Duration History

Is there a history of gateway script execution duration? In the gateway, you can see the duration of the last time the script was executed, but this is only for the last execution. Is this information stored over a time period or is this something that I need to setup in order to develop a history of the execution of gateway scripts?

Hi Tyler,

There is not a built in history for script executions in the gateway.
What kind of gateway scripts are you using?

I am using Timer, Tag Change, and Message Handler scripts. Was just curious if there was a known way to add these executions to a dataset to use for optimization purposes.

1 Like

Roll your own, send it to a logger or DB

2 Likes

You could periodically interrogate com.inductiveautomation.ignition.common.script.ScriptManager.executingScripts() manually. You'd have to define a poll rate, but you could get a certain amount of granularity that way.

1 Like