RE: Script to shutdown ON-Line without user interventions
Posted in 1997
I guess you have got the shutdown process quite correctly :
-k Shutdown completely
-y Do not require confirmation
Which should do the job, no problems
Munaf
g086mnf@bomplant3.appl.ge.com
----------
From: informix-list-owner[SMTP:informix-list-owner@rmy.emory.edu]
Sent: Monday, January 13, 1997 3:16 PM
To: informix-list
Subject: Script to shutdown ON-Line without user interventions
Hi all,
I must write a script to shutdown the database server ON-Line
without
user interventions.
This script will be ran when there is a big problem with the power.
It must shutdown immediately the database server properly, if
possible.
I think use only the command :
onmode -ky
Like I don't know very well Informix (for the moment),
I would like to know if must be careful to another things ?
Thanks in advance for your help.
Stephane (stephane.magnan@eur.autodesk.com)
Switzerland
The following binary file has been uuencoded to ensure successful
transmission. Use UUDECODE to extract.
begin 600 WINMAIL.DAT
M>)\\^(@(#`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V`!``"`````0`!``$$
M@`$`.@```%)%.B!38W)I<'0@=&\\@<VAU=&1O=VX@3TXM3&EN92!W:71H;W5T
M('5S97(@:6YT97)V96YT:6]N<P!"%0$%@`,`#@```,T'`0`.``@`+P````(`
M'`$!((`#``X```#-!P$`#@`(`"P`*``"`$$!`0F``0`A````-49&-T1#1#=%
M-S9$1#`Q,4)!0S0P,$$P,C1#1$0Q,$4`:`<!`Y`&`!`%```0````"P`C````
M```#`"8``0````L`*0```````P`V``````!``#D`X-#E9\\D!O`$>`'```0``
M`#H```!213H@4V-R:7!T('1O('-H=71D;W=N($].+4QI;F4@=VET:&]U="!U
M<V5R(&EN=&5R=F5N=&EO;G,````"`7$``0```!8````!O`')9][7W/=A;><1
MT+K$`*`DS=$.```#``800]-NT0,`!Q#4`@``'@`($`$```!E````24=515-3
M64]52$%614=/5%1(15-(551$3U=.4%)/0T534U%5251%0T]24D5#5$Q9.BU+
M4TA55$1/5TY#3TU03$5414Q9+5E$3TY/5%)%455)4D5#3TY&25)-051)3TY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