• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

program monitor

I wrote a python script to do this in Linux ... not to restart it if it stopped, but to notify me if it exited with an error condition. Basically, start the program with a system call from within the python script, and then catch the return value. If it's != 0, it sends me an email. If you just want to restart it if it stops, you could also moniter the /proc filesystem, either manually or with a ps call.
 
python bit should still work. Something like this

#!/usr/bin/python

import os

while 1:
os.system("prog_name_to_keep_running")
 
You can do this with probably any scripting language ... or compiled for that matter. If you want to use python, then yes, you'll have to install it.
 
If you open the file twice, does it open multiple processes? If not, just schedule a task to load that file every hour or whatever, and if its already running, it won't load another, and if it isn't then it'll load it.
 
Back
Top