# Setting up gateway time script

**URL:** <https://forum.inductiveautomation.com/t/setting-up-gateway-time-script/68869>\
**Category:** General Discussion\
**Created:** [January 20, 2023, 8:44pm UTC](https://forum.inductiveautomation.com/t/setting-up-gateway-time-script/68869 "2023-01-20T20:44:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![randall\_moser](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@randall\_moser](https://forum.inductiveautomation.com/u/randall_moser)\
**Post date:** [January 20, 2023, 8:44pm UTC](https://forum.inductiveautomation.com/t/setting-up-gateway-time-script/68869/1 "2023-01-20T20:44:50Z")

</div>

I want setup a time script that i can run script for simulating running conditions. most scripts are event etc. Wondware has a scripting function called application script that allows script to be run on a cycle time you set, simulator to a plc scan time. im sure ignition can do this but i have not had any luck setting up the gateway time script.

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [January 20, 2023, 9:34pm UTC](https://forum.inductiveautomation.com/t/setting-up-gateway-time-script/68869/2 "2023-01-20T21:34:42Z")

</div>

Here's the user manual entry for the [Gateway Event Timer Script](https://docs.inductiveautomation.com/display/DOC81/Gateway+Event+Scripts#GatewayEventScripts-TimerScripts) if that helps.

If you have tried setting this up but have been unsuccessful, what have you tried (post the code)?

---

<div class="post-metadata">

**Author:** ![bwirth](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@bwirth](https://forum.inductiveautomation.com/u/bwirth)\
**Post date:** [January 20, 2023, 11:51pm UTC](https://forum.inductiveautomation.com/t/setting-up-gateway-time-script/68869/3 "2023-01-20T23:51:01Z")

</div>

you can also set up tags in a "fixed rate" execution mode..

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/2/3218c62a2e901f7a3b993cb7598a85efccde1086.png)
