<div class="gmail_quote">On Thu, Apr 23, 2009 at 4:53 AM, Matthew Fong <span dir="ltr"><<a href="mailto:mattdfong@gmail.com">mattdfong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There's a reference in the wiki to the sched_del API command, but it doesn't give an example, and the console doesn't give a syntax either. Does anyone know it? I'm interested to know how it relates to the group_name (task-group) set in the sched_api command. If I want to delete a specific sched_api command, how would I do it with sched_del?<div>
</div></blockquote><div><br></div></div>specify a group_name or task group when doing the sched_api command:<br><br><span style="font-family: courier new,monospace;">sched_api +1800 my_group version</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">API CALL [sched_api(+1800 my_group version)] output:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+OK Added: 4</span><br style="font-family: courier new,monospace;">
<br>Then use that same group_name to delete the scheduled API:<br><br><span style="font-family: courier new,monospace;">sched_del my_group</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">API CALL [sched_del(my_group)] output:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">+OK Deleted: 1</span><br style="font-family: courier new,monospace;"><br>I'll get the sched_del API documented ASAP. Thanks for the heads up.<br>-MC<br><br><br>