Stdout and stderr from bash script to Dashboard?

Is there a way to e.g. see the last 5 outputs from a bash-script started with an exec node?

Several.

You can feed the output back (from an exec node) into the msg flow and on to a dashboard component.

Or you can set up a web endpoint using http-in/-out and output from your bash script using curl. I do that with a few scripts that I run from CRON rather than from Node-RED.

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