|
Failure Detection and RecoveryTermination ScriptTermination scripting is analogous to the Logon Scripting except it is executed when the telnet session is terminated. The commands within the file cleanup.bat are invoked upon termination of a telnet session. This is invoked with both normal and abnormal terminations. Cleanup scripting is available on both a global and per user basis as with Logon Scripting. NOTE: No applications that require user input are allowed in the cleanup scripts. It is especially useful for properly upmapping network connections such as drives. If you do not unmap drives when terminating the session you may be unable to connect to them the next you logon. The cleanup.bat file allows automatic unmapping of drives upon termination of the telnet session. Example -Termination Script: Cleanup.bat file unmapping the “f” network driveThe system administrator has set up user “Adam”s logon script to map drive “f” as a network drive. In user “Adams” cleanup.bat script the system administrator will un-map the drive when the session is terminated. Step 1. Create directory c:\gs_tnet\scripts\Adam Step 2. Create batch file cleanup.bat Step 3. Add the following line. net
use f: /d Step 4. Save file and exit. This will unmap the f drive after the session is terminated.
|
Send mail to
webmaster@georgiasoftworks.com with
questions or comments about this web site.
|