# IN node-red i want to create a flow which executes a command and if that command takes more than 15 minutes to give result it should kill itself or terminate itself

**URL:** <https://discourse.nodered.org/t/in-node-red-i-want-to-create-a-flow-which-executes-a-command-and-if-that-command-takes-more-than-15-minutes-to-give-result-it-should-kill-itself-or-terminate-itself/84935>\
**Category:** General\
**Created:** [26 January 2024 10:29 UTC](https://discourse.nodered.org/t/in-node-red-i-want-to-create-a-flow-which-executes-a-command-and-if-that-command-takes-more-than-15-minutes-to-give-result-it-should-kill-itself-or-terminate-itself/84935 "2024-01-26T10:29:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 January 2024 11:39 UTC](https://discourse.nodered.org/t/in-node-red-i-want-to-create-a-flow-which-executes-a-command-and-if-that-command-takes-more-than-15-minutes-to-give-result-it-should-kill-itself-or-terminate-itself/84935/7 "2024-01-26T11:39:33Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/in-node-red-i-want-to-create-a-flow-which-executes-a-command-and-if-that-command-takes-more-than-15-minutes-to-give-result-it-should-kill-itself-or-terminate-itself/84935)._
