Launch Node-Red project On windows Start

#1

i have windows 10 on my machine. I wonder how can i launch such project when windows start??

0 Likes

#2

Covered in the docs https://nodered.org/docs/platforms/windows

1 Like

#3

thnx a lot is so clear in doc. what i want is to auto-start a flow on startup not only node-red. is it posiible thing ??

0 Likes

#4

When node-red starts it will run all the flows in the flows file.
If you want a particular operation to start then you can use an inject node set to trigger on startup to set it in action.

2 Likes

#5

thnx for respond. Specificly, i need to display dashboad directly on windows starts. ?? is there a way to do that ?

0 Likes

#6

Displaying the dashboard is nothing to do with node-red. Do you mean you want to start the browser with the dashboard on display? I presume that on windows there is a way of automatically starting applications on startup, so if you configure it to start your browser, pointing at the dashboard url then that should work.

1 Like

#7

yes Sir, that's what i want. i will see how to do configuration. thnx anyway.

0 Likes

#8

There are a number of ways to do this.

The most robust is to configure Windows in Kiosk mode. In that mode, a user cannot do anything other than see the browser window.

Next most robust is to go into the Windows Scheduler and create a new entry that is triggered at the right time - either on login or, if not using a login, at Windows startup. The entry can simply use a command like start http://localhost:1880/ui.

1 Like

#9

using task scheduler doesn't launch node-red on windows startup. using pm2 does launch node-red but creats a problem with phantomjs. is there anyway else to lauch node-red ?

0 Likes

#11

It absolutely does. I've done it. Task scheduler is very powerful and can be used to start just about anything at boot/Windows start/login/logout/shutdown and any number of other events.

0 Likes