A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Monitor external program...
-
I need a clue on how to do this - I’m wanting to make sure an external program is running on my Pi. and if it’s not display a message on the screen. is there a way to check such things within the magic mirror system?
-
@BKeyport There is very likely an npm module for that.
Like this one:
https://www.npmjs.com/package/find-process -
@lavolp3 Good idea for a module by the way!
You could write one that checks for processes running, shows if they are running or not and starts/restarts them on demand -
This seems to be a good solution as well.
https://www.npmjs.com/package/ps-node -
start the external program with pm2, it will keep it running