Ns resume

From AOLserver Wiki
Jump to navigation Jump to search

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


NAME

ns_resume - Resume a previously paused scheduled script

SYNOPSIS

ns_resume id

DESCRIPTION

This command resumes scheduling of a previously paused script via ns_pause. 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_resume $id
   1
   % ns_unschedule_proc $id

SEE ALSO

ns_info scheduled, ns_pause, ns_unschedule_proc