Run Node-RED on Startup
C:\Users\<user>\AppData\Roaming\npm\node-red.cmd
If you want to use Windows as a production platform for Node-RED, you will want to have a Windows Task Scheduler job set up. To do so:
- Go to the start menu and type “task scheduler” and click on the result.
- Click on “Create Task…” in the right-hand menu. Follow the steps to create a new task.
Make sure that you use the user login that you’ve used to set up and do the initial run of Node-RED. You can use an “At startup” trigger to always run Node-RED at system startup. Use the Action “Start a program” with details set to
C:\Users\<user>\AppData\Roaming\npm\node-red.cmd
(replacing <user>
with your actual user name).
沒有留言:
張貼留言