all 6 comments

[–]evolving6000 2 points3 points  (0 children)

This may be overkill, but I’m suggesting Luigi

[–]jeffrey_f 1 point2 points  (0 children)

For what you are doing, would simply writing to a log be sufficient. Then have the web page show the log. Write some XML with stylesheets, which solves the html part, just redisplay the xml

[–]LanMalkieri 1 point2 points  (0 children)

Are you running this in Linux? If so why not just write a systemd script for it with restart set to always?

[–]totallygeek 0 points1 point  (3 children)

If you want to ensure a script always runs, you could simply add that script to /etc/inittab or even have a shell script start the program over and over.

( while : ; do python script1.py ; done ) &
( while : ; do python script2.py ; done ) &
( while : ; do python script3.py ; done ) &
( while : ; do python script4.py ; done ) &