From owner-freebsd-questions Sat Jan 5 18:32:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.mx.pitdc1.stargate.net (smtp3.mx.pitdc1.stargate.net [206.210.69.143]) by hub.freebsd.org (Postfix) with SMTP id E972937B402 for ; Sat, 5 Jan 2002 18:32:28 -0800 (PST) Received: (qmail 6613 invoked from network); 6 Jan 2002 02:32:22 -0000 Received: from dap-216-151-64-3.nfas.greensburg-tnt-2.sns234.pa.stargate.net (HELO wastegate.net) (216.151.64.3) by smtp3.mx.pitdc1.stargate.net with SMTP; 6 Jan 2002 02:32:22 -0000 Received: from mother.wastegate.net (mother.wg.local [192.168.1.2]) by wastegate.net (Postfix) with SMTP id DD48648425; Sat, 5 Jan 2002 21:32:23 -0500 (EST) From: "Doug Reynolds" To: "freebsd-questions@FreeBSD.ORG" , "Lord Raiden" Date: Sat, 05 Jan 2002 21:34:03 -0500 Reply-To: "Doug Reynolds" X-Mailer: PMMail 2000 Professional (2.20.2380) For Windows 98 (4.10.2222) In-Reply-To: <4.2.0.58.20020104140214.009de650@pop.netzero.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Interesting user question Message-Id: <20020106023223.DD48648425@wastegate.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 04 Jan 2002 14:06:38 -0500, Lord Raiden wrote: > Ok, here's a question that just stumps me. I know how to do this to some >degree, but not in the way that the user wants. Ok, here's the gist. User >came to me today and asked for a way that he could use his MSwindows box >(running 98se) to remotely shut down each of his BSD boxes when his 98 >shuts down. > > That I thought was easy. But here's the catch. It can't call for the BSD >boxes to shut down EXCEPT when he's actually shutting down for the >night. Not during normal mid-day reboots, or shutdowns. Only when he >shuts down at 5pm and powers down his workstations for the night and only >when shutting down his win98se machine. Any ideas on this? Right now he >does all 4 by hand, but would like something that doesn't require him to >have to do this all the time. Any ideas? > Personally I think it's silly, but it's got my curiosity, so I'm asking. :) silly yes.. I don't think windows has any kinda of scheduling like that. you could just make a cron event that runs shutdown -h now at 5 o'clock. or, you could have a shutdown command issued, because you can specify the shutdown time... look at the man shutdown. other than that, i'd say he is out of luck. --- doug reynolds | the maverick | mav@wastegate.net PGP Public Key Fingerprint: 6E7B 9993 B503 6D45 E33A 2019 26E5 C1DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message