tail -f in a webbrowser

后端 未结 3 1362
梦如初夏
梦如初夏 2020-12-10 15:44

I\'ve created a Python script that monitors a logfile for changes (like tail -f) and displays it on a console. I would like to access the output of the Python script in a we

3条回答
  •  轮回少年
    2020-12-10 16:08

    Why don't you output the data to a HTML file? You could run a cron job to run your script which would in turn spurt out a HTML file which could be accesses from the browser.

提交回复
热议问题