ms::Graph method schedule_donecallback (public)

 <instance of ms::Graph[i]> schedule_donecallback secs location \
    callback

Defined in packages/xooauth/tcl/ms-procs.tcl

Add an atjob for the for the done callback. The job is persisted, such that even for long running operations and server restarts, the operation will continue after the server restart.

Parameters:
secs (required)
location (required)
callback (required)

Testcases:
No testcase defined.
Source code:
#ns_log notice "--- schedule_donecallback $secs $location $callback"
set j [::xowf::atjob new  -url [xo::cc url]  -party_id [xo::cc user_id]  -cmd $callback  -time [clock format [expr {[clock seconds] + $secs}]]]
$j persist
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: