From owner-freebsd-questions Tue Nov 21 2: 5:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from donald-duck.ele.tue.nl (Donald-Duck.ele.tue.nl [131.155.192.220]) by hub.freebsd.org (Postfix) with ESMTP id C9F2A37B4CF for ; Tue, 21 Nov 2000 02:05:13 -0800 (PST) Received: from bart by donald-duck.ele.tue.nl with local-esmtp (Exim 3.12 #1 (Debian)) id 13yAIT-0004QU-00; Tue, 21 Nov 2000 11:05:05 +0100 Date: Tue, 21 Nov 2000 11:05:05 +0100 (CET) From: Bart X-Sender: bart@donald-duck.ele.tue.nl To: brian william wolter Cc: questions@freebsd.org Subject: Re: ping OK, daemons dead ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Nov 2000, brian william wolter wrote: > > of situations; is it possible to use a script/program > > which reboots the machine after 12 hours of no > > activity of some kind of daemon (or login). > > you'd probibly be better off writing a script that will just restart the > daemons that are dying on you, that way you won't have the downtime that > will result from actually rebooting. you can just have the script check > to see if the processes are still running and restart them if they are > not. then just put it in the crontabs to execute every so often. Well, I can not reach the console at this moment (it's a machine located somewhere else) but the weird part is that I *can* connect (using telnet) but no "login:" appears: acid2:/1/home/skin$ telnet mymachine.nl Trying 212.104.204.x... Connected to mymachine.nl. Escape character is '^]'. So the daemon ain't dead... With regards, Bart Pustjens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message