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: How to make all connected browsers reload initiated by a server-side event. 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.