<html>Hi Ulf, thank you very much.<br />I'm not sure I want to add a full application as a dependency at this time but I will definitely look at the code, this will be a good read !<br /><br />-- lud<br /><br />Le Lundi, Janvier 13, 2020 17:14 CET, Ulf Wiger <ulf@wiger.net> a écrit:<br /> <blockquote type="cite" cite="CADPRLo-NzXOduheBfUsiVxoAdadyZuh4A7pWpFFxUpGz2-aX+A@mail.gmail.com"><div dir="ltr">FWIW, the KVDB project [1] implemented both priority queues and timers (which quite flexible scheduling options), with persistence.<div> </div><div>Example, from an Erlang Factory presentation 2013 [2]:</div><div> </div><div>12> kvdb_cron:create_crontab(db, timers).</div><div>ok</div><div>13> kvdb_cron:add( db,timers,"{in 3 secs; 3 times}",[],kvdb_cron,testf,[]).</div><div>{ok,{q_key,<<>>,105729091563262,105729094536167}}</div><div>14></div><div>CRON!! {{{2013,3,19},{21,38,14}},658320}</div><div>CRON!! {{{2013,3,19},{21,38,17}},655700}</div><div>CRON!! {{{2013,3,19},{21,38,20}},642523}</div><div> </div><div>I haven't touched the code in a long time, but if there is sufficient interest, I could be persuaded to lend support. :)</div><div> </div><div>BR,</div><div>Ulf W</div><div> </div><div>[1] <a href="https://github.com/Feuerlabs/kvdb">https://github.com/Feuerlabs/kvdb</a></div><div>[2] <a href="http://www.erlang-factory.com/conference/SFBay2013/speakers/UlfWiger">http://www.erlang-factory.com/conference/SFBay2013/speakers/UlfWiger</a></div></div></blockquote></html>