> Is there such a script for shutdown? I need to make sure one
> application is shutdown first before anything else. How can I do this?
> Sorry .. I am kinda new to Redhat Linux.
well you can do something like
alias shutdown='kill -9 PID ; shutdown'
of course you should know PID.
You can make some script which will find PID of you application and take
it as variable $PID in kill -9 &PID
.
RE: Finetuning: Remote Shutdown with WMI, some errors occur. ... Also we would like that a workstation that's locked is also shutdown by this ...script to shutdown all approx. ...Dim strBase, strFilter, strAttributes, strQuery, objRecordSet ...Const OpenAsDefault = -2 ... (microsoft.public.windows.server.scripting)
RE: Script or Other Method to Reboot ... > We need different privileges when using Shutdown command and shutdown the ... > that only administrator will use command to shutdown the computers. ... > we may need to compile the script.... (microsoft.public.windowsxp.configuration_manage)
Re: Finetuning: Remote Shutdown with WMI, some errors occur. ... Allows shutdown, poweroff, or reboot of multiple remote systems. ... - generic unhandled script compile or runtime error; ..."Specify 1 and only one shutdown action" ...Dim erNumber, erDesc ... (microsoft.public.windows.server.scripting)
Re: SBS 2003 R2 Shutdown Problem ... The other thing I would do if I had a Trend environment is to do a similar script for Trend as I have done for Exchange.... scripts that first shutdown Exchange,... If you create a group policy object - computer shutdown script then you need not worry about forgeting - it'll just run for you! ... (microsoft.public.windows.server.sbs)
Re: Help needed with a js command ... The original script allowed to shutdown any computer in the ... computer, and I just need to reboot one computer, anyway. ...Const EWX_SHUTDOWN = 1 ... (microsoft.public.scripting.jscript)