# Running Client on Gateway

**URL:** <https://forum.inductiveautomation.com/t/running-client-on-gateway/2155>\
**Category:** Ignition\
**Created:** [August 27, 2010, 7:19am UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155 "2010-08-27T07:19:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dodonnell999](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@Dodonnell999](https://forum.inductiveautomation.com/u/Dodonnell999)\
**Post date:** [August 27, 2010, 7:19am UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155/1 "2010-08-27T07:19:40Z")

</div>

I’ve done up a project for compiling reports ( auto saving & emailing ), in order for this to work I need to leave a client running on the gateway, but if the gateway restarts for any reason ( power fail, updates, etc ) the client doesn’t restart until its manually started - is there anyway to do any of the following

1. automatically start a client when the gateway starts or
2. start a client on the gateway remotely or
3. monitor a client of a different project ( on same gateway ) to provide an alarm if not running

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [August 27, 2010, 3:26pm UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155/2 "2010-08-27T15:26:14Z")

</div>

There are ways to start a client remotely and you have to look at sending remote commands in Windows. The third option will be the best in this situation. On the client in the gateway you can update a datetime SQLTag that can be a heart beat. If the time is older than say 1 minute or whatever time you can alert saying that client is not open.

---

<div class="post-metadata">

**Author:** ![Dodonnell999](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@Dodonnell999](https://forum.inductiveautomation.com/u/Dodonnell999)\
**Post date:** [August 31, 2010, 2:50pm UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155/3 "2010-08-31T14:50:02Z")

</div>

I was thinking of just doing a batch file on startup that called the client, the only problem I have is the login requirement, is there any way to have no security on the client for this hidden project, ie. the client just starts without needing a user to login.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [August 31, 2010, 3:26pm UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155/4 "2010-08-31T15:26:28Z")

</div>

You can enable auto-login on that project. You can do this through the Project Properties in the designer for the project.

---

<div class="post-metadata">

**Author:** ![Dodonnell999](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@Dodonnell999](https://forum.inductiveautomation.com/u/Dodonnell999)\
**Post date:** [August 31, 2010, 3:30pm UTC](https://forum.inductiveautomation.com/t/running-client-on-gateway/2155/5 "2010-08-31T15:30:42Z")

</div>

Thanks for that, that should do the trick.
