Search the web
Sign In
New User? Sign Up
eComStation · A new super-client created with IBM's WS
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
shutdown or setboot   Message List  
Reply | Forward Message #81659 of 82793 |
Re: [eCS] shutdown or setboot



Tim Stephen wrote:

> I'm looking for a command to execute from a rexx program that will
> shutdown the system and not reboot it. I have a wireless print server
> on my lan that is not on a UPS. My ecs system pings the print server
> every 60 seconds and parses the ping output to make sure that the
> print server is online. If pings fail consistently for 15 minutes,
> the assumption is that the print server is off line due to a power
> outage and the ecs system is running on the UPS and so it should shut
> itself down before the UPS battery depletes.
>
> The trouble is that the shutdown command by itself will not execute it
> there are active sessions. Instead it pops up a pm window and asks if
> you really want to kill the active sessions, or something like that.
>
> Setboot is only good for rebooting (I think).


Sounds like a familiar problem I had when I ran a bulletin board at home
(more than 10 years ago now). During holidays I wanted it once per day
to shutdown gracefully before a power cut-off by a timer-switch and a
few minutes later perform a cold restart without chkdsk asking for
permission to recover files....
I solved this by specifying the drive letter of a non-bootable partition
with the SetBoot command (/IBD:x). I'm afraid I don't remember the
details, but this was the basic idea.

Regards, Rob.



--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)



Mon Jul 6, 2009 7:52 pm

digithalys
Offline Offline
Send Email Send Email

Forward
Message #81659 of 82793 |
Expand Messages Author Sort by Date

Hi, I'm looking for a command to execute from a rexx program that will shutdown the system and not reboot it. I have a wireless print server on my lan that is...
Tim Stephen
cowswillbecows
Offline Send Email
Jul 6, 2009
5:49 pm

... Sounds like a familiar problem I had when I ran a bulletin board at home (more than 10 years ago now). During holidays I wanted it once per day to...
Rob Hamerling
digithalys
Offline Send Email
Jul 6, 2009
7:53 pm

Thanks. Setboot /ibd:g (g is just a data drive not bootable) results in shutdown plus a message "operating system missing, system halted" on a black screen....
Tim Stephen
cowswillbecows
Offline Send Email
Jul 7, 2009
2:47 am

... Da: eComStation@yahoogroups.com per conto di Rob Hamerling Inviato: lun 06/07/2009 21.52 A: eComStation@yahoogroups.com Oggetto: Re: [eCS] shutdown or...
mentore.siesto@...
mentoruccio
Offline Send Email
Jul 6, 2009
7:59 pm

... PowerOff.Exe? Neil -- Neil Waldhauer, neil@... Blessed are those who hunger and thirst, for they are sticking to their diets....
Neil Waldhauer
neilwaldhauer
Offline Send Email
Jul 6, 2009
8:41 pm

Looks like poweroff.exe is part of acpi utilities and requires that stuff on the system. Don't have them, so no go. Thanks! Tim...
Tim Stephen
cowswillbecows
Offline Send Email
Jul 7, 2009
2:47 am

I think Poweroff.exe came in OS/2 Warp Server and WSeB. This was pre-ACPI. But I don't think it was in Warp 4 client OS, only the server version. Cheers/2 Ed....
Ed Durrant
eadurrant
Offline Send Email
Jul 7, 2009
3:56 am

No it wasn't poweroff.exe rather shutdown.exe and it's included in eComStation - just type shutdown at a command prompt and press enter and you'll see what I...
Ed Durrant
eadurrant
Offline Send Email
Jul 7, 2009
9:36 am

Well, the trouble with shutdown is that it doesn't actually shutdown all the time unattended. If certain types of sessions are open a pm popup appears that...
Tim Stephen
cowswillbecows
Offline Send Email
Jul 7, 2009
3:28 pm

** Reply to note from Tim Stephen <tim.stephen@...> Mon, 6 Jul 2009 13:48:40 -0400 ... A more elegant solution: http://www.clanganke.de/os2/sw/sendyes ...
os24u@...
Send Email
Jul 7, 2009
1:38 pm

... I haven't tested this, but I imagine it would be possible to do it with REXX plus your favourite process-killer (e.g. 'go -k'). Just query the window list...
Alex Taylor
alextaylor41
Offline Send Email
Jul 7, 2009
2:34 pm

Thanks for this. I've had some experience attempting to kill processes via available utilities driven by rexx. As you say, there are occasions when you...
Tim Stephen
cowswillbecows
Offline Send Email
Jul 7, 2009
3:31 pm

... One "problem" I had with various utilities was that if it actually turned the power all the way off on the machine, when the line power came back on and...
amphi_sc
Offline Send Email
Jul 7, 2009
5:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help