mò d%ÜGc@sÿdZdkZdkZdkZdkZdkZd„Zd„Zed„Z d„Z ed„Z ed„Z d„Z d fd „ƒYZeiƒZgZd „ZeaeZd „Zd „ZeideddƒZeiƒd„Zd„Zd„ZeieƒedjoÝhZ d„Z!e dd„eƒGHxe pei"dƒqDWe GHe pt#‚hZ ei$eiƒdƒdd!\Z%Z&Z'Z(e e(e%e&e!ƒGHdGHxe pei"dƒq¿We GHe)eƒdjpt#‚ndS(s¸ A module for scheduling arbitrary callables to run at given times or intervals, modeled on the naviserver API. Scheduler runs in its own thread; callables run in this same thread, so if you have an unusually long callable to run you may wish to give it its own thread, for instance, schedule(3600, lambda: threading.Thread(target=longcallable).start()) Scheduler does not provide subsecond resolution. Public functions are threadsafe. NcCstiid|ƒS(Ns%s (tsyststderrtwritets(R((t-/home/holguin2/public_html/spyce/scheduler.pytscCsdk}|i|ƒdS(N(tspycetDEBUGR(RR((Rt debugloggers cCs@|djotdƒ‚ntttiƒ||||ƒƒS(se Schedules callable to be run every interval seconds. Returns the scheduled Task object. isInterval must be postitiveN(tintervalt Exceptiont _insertsortedtTaskttimetcallabletonce(R RR((Rtschedules cCsqttitiƒƒƒ}||d<||d