Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 1998 11:39:41 +0100
From:      Patrik Kudo <kudo@partitur.se>
To:        questions@FreeBSD.ORG
Subject:   shutdown and power-cut
Message-ID:  <3639976D.2D317247@partitur.se>

next in thread | raw e-mail | index | archive | help
Hi,

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?

Thanks,

Patrik Kudo
kudo@partitur.se

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?3639976D.2D317247>