# NodeRED and python

**URL:** <https://discourse.nodered.org/t/nodered-and-python/15517>\
**Category:** General\
**Created:** [13 September 2019 15:58 UTC](https://discourse.nodered.org/t/nodered-and-python/15517 "2019-09-13T15:58:07Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [13 September 2019 17:52 UTC](https://discourse.nodered.org/t/nodered-and-python/15517/10 "2019-09-13T17:52:29Z")

</div>

That fully depends on the conditions on when to execute those. Which would be helpful if you explained those. You can use a switch node to branch a flow depending on conditions, inject/trigger/delay nodes for time based execution/repeated action. For repeated execution following a time schedule you can look at the `node-red-contrib-cron-plus` node. For repeatedly executing following script output you use the output of the `exec` node followed by processing it and more conditional logic. Possibilities are near endless.

---

_[View the full topic](https://discourse.nodered.org/t/nodered-and-python/15517)._
