Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 08:50:11 -0600 (MDT)
From:      Jonathon Doran <doranj@Colorado.EDU>
To:        freebsd-questions@freebsd.org
Subject:   Re: monitor process
Message-ID:  <199906301450.IAA09500@ucsu.Colorado.EDU>
In-Reply-To: <377B7199.DF55C8F7@index.com.jo> from "Sodah" at Jul 1, 99 04:48:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I have process that dies after 4 hours or more.
> Is it possible to monitor it and make it starts again
> in auto-mode without typing it at the prompt?

Yes, wrap it in a shell script:

#!/bin/sh
while true
do
	myprocess
done


Jon Doran


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906301450.IAA09500>