# How to trigger an automatic deploy at a specific time in Node-RED

**URL:** <https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, function-node, raspberry-pi5\
**Created:** [27 November 2025 10:31 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786 "2025-11-27T10:31:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![karlgotbread](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@karlgotbread](https://discourse.nodered.org/u/karlgotbread)\
**Post date:** [27 November 2025 10:31 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/1 "2025-11-27T10:31:16Z")

</div>

Hi everyone,

I’m looking for a way to perform an **automatic deploy** of my Node-RED flows at a precise time (for example every day at 08:00 PM).

To be clear:

- I don’t want to use an Inject node (I’m _not_ trying to trigger a flow).
- I really want a full auto-deploy of the flows, as if I pressed the _Deploy_ button manually.
- Ideally this could be done using a script, Node-RED internal setting, or some kind of scheduled command.
- I’m still using Dashboard 1.0 and I don’t want to migrate to Dashboard 2.0 for the moment.

Does anyone know if this is possible, or if there's a workaround to trigger a scheduled deploy automatically?

Thanks a lot for your help!

---

<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:** [27 November 2025 11:14 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/2 "2025-11-27T11:14:39Z")

</div>

You could use a cron job to restart node red.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [27 November 2025 11:33 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/3 "2025-11-27T11:33:05Z")

</div>

Would that deploy before restarting?

---

<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:** [27 November 2025 13:36 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/4 "2025-11-27T13:36:10Z")

</div>

No, but what @karlgotbread has asked for does not make sense to me.

@karlgotbread, you can only click the Deploy button if you have a modified flow that you wish to send from the browser to the node-red server, so can you describe in more detail exactly what you are trying to achieve?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [27 November 2025 13:56 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/5 "2025-11-27T13:56:30Z")

</div>

Good point, Any non deployed changes are in the browser not the editor.

---

<div class="post-metadata">

**Author:** ![karlgotbread](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@karlgotbread](https://discourse.nodered.org/u/karlgotbread)\
**Post date:** [27 November 2025 14:30 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/6 "2025-11-27T14:30:58Z")

</div>

Let me clarify what I’m trying to achieve.

I know that the Deploy button is normally used only when the flow has been modified in the editor.  
However, in my case, I’m using **ui\_template** widgets with custom JavaScript and custom charts on **Dashboard 1.0** , and sometimes the dashboard **does not initialize correctly** (especially after long runtimes, or after switching between different dashboards).

The only thing that consistently fixes the issue is pressing **Deploy** , even if nothing has changed in the flow.

This is why I’m trying to achieve an **automatic “deploy-like” refresh** every day at a precise time (for example at 8:00 PM), without having to touch the editor.

I’m **not** trying to push modified flows, I just want to force Node-RED to reload the UI and reinitialize the dashboard components automatically.

---

<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:** [27 November 2025 14:54 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/7 "2025-11-27T14:54:37Z")

</div>

> [@karlgotbread](#):
>
> The only thing that consistently fixes the issue is pressing **Deploy** , even if nothing has changed in the flow.

You cannot press Deploy if nothing has changed, it is not enabled.

From the failure state check whether anything is consuming large amounts of CPU. The problem you have sounds exactly like what one would see if you are loading up charts with many thousands of data points, in which case either the node-red server or the browser (or both) may hang up using large amounts of CPU.

---

<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:** [27 December 2025 14:54 UTC](https://discourse.nodered.org/t/how-to-trigger-an-automatic-deploy-at-a-specific-time-in-node-red/99786/8 "2025-12-27T14:54:49Z")

</div>

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