Difference between revisions of "Ns pause"

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

Latest revision as of 19:36, 7 February 2009

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


NAME

ns_pause - Pause a scheduled script from running

SYNOPSIS

ns_pause id

DESCRIPTION

This command pauses a scheduled script from running at its next scheduled time. Returns 1 on success, 0 on failure.

EXAMPLES

   % set id [[ns_schedule_daily 1 0 { ns_log notice "One AM and all is well.  *gong*" }]]
   19
   % ns_pause $id
   1
   % ns_unschedule_proc $id

SEE ALSO

ns_info scheduled, Ns_Resume, ns_unschedule_proc

-