What's a simple way to web-ify my command-line daemon?
- by dreeves
Suppose I have a simple daemon type script that I run on my webserver.
I run it in a terminal, with gnu screen, so I can keep an eye on it.
That works fine (incidentally, I use this trick).
But now suppose I'd like to make a web page where I can keep an eye on my script's output.
What's the easiest way to do that?
Notes:
This is mainly for myself and a couple co-hackers so if websockets is the answer and it only works on Chrome or something, that's acceptable.
This question is asking something similar: http://stackoverflow.com/questions/1964494/how-to-make-all-connected-browsers. But I'm hoping for a simpler, quick-and-dirty solution, and especially a general way to quickly do this for any script I might want to keep an eye on from a browswer.