What's a simple way to web-ify my command-line daemon?
Posted
by dreeves
on Stack Overflow
See other posts from Stack Overflow
or by dreeves
Published on 2010-04-21T03:33:57Z
Indexed on
2010/04/21
3:43 UTC
Read the original article
Hit count: 308
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.
© Stack Overflow or respective owner