I need to purge 10 mnesia tables on day/hourly interval.  I am looking at <a href="http://code.google.com/p/gencron/" target="_blank">http://code.google.com/p/gencron/</a> to accomplish this.  Documentation says gen_cron pretty much like gen_server. I am not an expert in gen_server.  I want to create 1 process for each table to perform purging.<br>

<br>Do I create 10 process intially and have them sleep on the interval or gen_cron starts these 10 process on interval?<br><br>Any sample gen_cron example out there?<br><br>Gen_cron seems to consider a task as a module.  What if I want to run two different modules, do I start two different gen_cron with two different name? <br clear="all">

<br><br>-- <br>rk<br><br>That which we persist in doing becomes easier for us to do; not that the nature of the thing itself is changed, but that our power to do is increased.<br>-Ralph Waldo Emerson