Difference between revisions of "Ns atsignal"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 521)
 
 
Line 23: Line 23:
 
----
 
----
  
[[Category Documentation]] - [[Category Core Tcl API]]
+
[[Category:Documentation]] - [[Category:Core Tcl API]]

Latest revision as of 19:33, 7 February 2009

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


NAME

ns_atsignal - Queue a script to run when the server receives the SIGHUP signal

SYNOPSIS

ns_atsignal script ?arg?

DESCRIPTION

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

EXAMPLES

SEE ALSO

ns_atclose, ns_atexit, ns_atshutdown


-