there is a process that always terminate abrutply, and is there anyway to monitor it? i dont want to end up manually typing "service named start" or service anyprocess start". i need a php script that checks a process on the server, then if its not running, it will run it. the process "named". also, how can we put a cron to it, like check evry 5 seconds? tnx
the pesudo code goes like this
check process if process is running do nothing else, if is not running execute "service anyprocess start"
check every 5 seconds.