Ns atshutdown

From AOLserver Wiki
Revision as of 20:44, 9 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 520)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


NAME

ns_atshutdown - Queue a script to run when the server is shutting down

SYNOPSIS

ns_atshutdown script ?arg?

DESCRIPTION

This command queues a script to run when the server is shutting down. The script and optional arg are concatenated together and added to the list of shutdown callbacks. The scripts are executed in the global scope in LIFO (last in, first out) order.

EXAMPLES

SEE ALSO

ns_atclose, ns_atexit, ns_atsignal


Category Documentation - Category Core Tcl API