<div>On Sun, Aug 9, 2009 at 11:57 AM, mark morreny <span dir="ltr">&lt;<a href="mailto:markmorreny@gmail.com">markmorreny@gmail.com</a>&gt;</span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Hi,<br><br>I would like to collect some data in my module which would listen to the event socket and then a scheduler would kick off every so often to clean up the data. <br><br>Does anyone know what is the best way to implement a scheduler in a mod?<br>
<br>Best Regards,<br><font color="#888888">Mark<br></font></blockquote></div></div><div><br></div>Just use the API that the FreeSWITCH core already has for you. Check src/include/switch_scheduler.h for details, the comments in there should be enough for you to learn to use it. If not, you can ask here more specific questions.<div>
<div><br>-- <br>Moises Silva<br>Software Developer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><br>

</div></div>