# Scheduling a gateway script

**URL:** <https://forum.inductiveautomation.com/t/scheduling-a-gateway-script/7144>\
**Category:** Ignition\
**Created:** [August 26, 2013, 3:36pm UTC](https://forum.inductiveautomation.com/t/scheduling-a-gateway-script/7144 "2013-08-26T15:36:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikehill100](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mikehill100](https://forum.inductiveautomation.com/u/mikehill100)\
**Post date:** [August 26, 2013, 3:36pm UTC](https://forum.inductiveautomation.com/t/scheduling-a-gateway-script/7144/1 "2013-08-26T15:36:59Z")

</div>

I need a gateway script to run every Monday morning and send out some emails. I am considering creating a transaction group to change a tag to run the script, but wanted to ask anyway if there was an alternative scheduling method that you would recommend.

Thanks!!

Mike Hill

---

<div class="post-metadata">

**Author:** ![Powerplan](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Powerplan](https://forum.inductiveautomation.com/u/Powerplan)\
**Post date:** [August 26, 2013, 4:33pm UTC](https://forum.inductiveautomation.com/t/scheduling-a-gateway-script/7144/2 "2013-08-26T16:33:23Z")

</div>

Mike

try this post

[viewtopic.php?f=70&t=9228](http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=9228)

it may get you started.

Chris

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [August 26, 2013, 8:45pm UTC](https://forum.inductiveautomation.com/t/scheduling-a-gateway-script/7144/3 "2013-08-26T20:45:46Z")

</div>

Another option would be to use an expression tag that displays just the day of the week. Then, create a tag change script to send out the emails.
