From owner-freebsd-questions Fri Oct 30 06:19:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13863 for freebsd-questions-outgoing; Fri, 30 Oct 1998 06:19:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from laker.net (jet.laker.net [205.245.74.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13850 for ; Fri, 30 Oct 1998 06:19:17 -0800 (PST) (envelope-from sfriedri@laker.net) Received: from nt (digital-pbi-142.laker.net [208.0.233.42]) by laker.net (8.9.0/8.9.LAKERNET.NO-SPAM.SPAMMERS.AND.RELAYS.WILL.BE.TRACKED.AND.PROSECUTED.) with SMTP id JAA26089; Fri, 30 Oct 1998 09:16:03 -0500 Message-Id: <199810301416.JAA26089@laker.net> From: "Steve Friedrich" To: "Patrik Kudo" , "questions@FreeBSD.ORG" Date: Fri, 30 Oct 1998 09:14:27 -0500 Reply-To: "Steve Friedrich" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows NT (4.0.1381;3) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: shutdown and power-cut Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Oct 1998 11:39:41 +0100, Patrik Kudo wrote: >I've just found out that we're going to have a power-cut this night, so >I'm going >to make the servers here shutdown before that. That's easy. Now concern >now is >that the power might go up and down several times during the 4 hours the >"power >cut", and that will make the servers go up and down just as many times. >Unfortunately I can't be here (with the servers) at the time of the >powercut, >so I'm trying to figure out a way to keep the servers shut down for the >entire >4 hour period, even if the power comes back up for a while during that >time. > >Is there any "standard" way to do this? If not, would it be a good idea >to >write a script that is run early in the startupphase that checks the >current >time, compares it with a given time and shutdowns the computer if the >current >time is less than the given time? Ideas: 1. Pull the power plug and plug it back in tommorrow when you come in? 2. Put X10 controllers on each server and get an X10 controller with either a timer or dial-in capability? 3. Buy the low tech timers used to control pool pumps, etc? This email may be way too late, I didn't see it last night... Unix systems measure "uptime" in years, Winblows measures it in minutes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message