# Node sleep after execution

**URL:** <https://discourse.nodered.org/t/node-sleep-after-execution/46278>\
**Category:** General\
**Created:** [26 May 2021 12:50 UTC](https://discourse.nodered.org/t/node-sleep-after-execution/46278 "2021-05-26T12:50:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DPhantom](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@DPhantom](https://discourse.nodered.org/u/DPhantom)\
**Post date:** [26 May 2021 12:50 UTC](https://discourse.nodered.org/t/node-sleep-after-execution/46278/1 "2021-05-26T12:50:28Z")

</div>

Hello, i am currently working at a Project that will send you a notification to your browser if a value of a sensor reaches a critical point. Currently it will always send a notification, whenever the value is too high, however it would be much better if the notification would only be send again after a minute or 2 if the value is still too high . How can i achieve this ?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 May 2021 12:54 UTC](https://discourse.nodered.org/t/node-sleep-after-execution/46278/2 "2021-05-26T12:54:42Z")

</div>

> [@DPhantom](#):
>
> however it would be much better if the notification would only be send again after a minute or 2 if the value is still too high . How can i achieve this

Use the trigger node set to resend after 2m. Then send it a reset if the value normalises.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 June 2021 12:55 UTC](https://discourse.nodered.org/t/node-sleep-after-execution/46278/3 "2021-06-09T12:55:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
