Shutting Down a Process Before Downing the Server
Articles and Tips: qna
01 Dec 2002
Q.
I have a process running on my server that needs to be stopped before I DOWN my server, but I often forget to stop it. Is there a way to automate this process so I won't have to remember it?
Duane "Leave It Up" Pulley
A.
Dear Duane: If you're running NetWare 5.x or NetWare 6, and there's a command line option to stop your process, then yes you can.
Create a file called SHUTDOWN.NCF and place it in the SYS:\SYSTEM directory (or in any directory found in the server's SEARCH path). Place in the file the command to halt the process. This .NCF file will be executed automatically when you type DOWN, RESTART SERVER, or RESET SERVER at the server console prompt.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.