Difference between revisions of "Ns atexit"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 519)
(No difference)

Revision as of 20:43, 9 June 2004

Man page: http://aolserver.com/docs/tcl/ns_atexit.html


NAME

ns_atexit - Queue a script to run before server terminates

SYNOPSIS

ns_atexit script ?arg?

DESCRIPTION

This command queues a script to run right before the server terminates. The script and optional arg are concatenated together and added to the list of at-exit callbacks. The scripts are executed in the global scope in LIFO (last in, first out) order.

EXAMPLES

SEE ALSO

ns_atclose, ns_atshutdown, ns_atsignal


Category Documentation - Category Core Tcl API