@@ -0,0 +1,172 @@
+%0Aimport gevent%0A%0Adef schedule(duration, func, *args, **kwargs):%0A    func(*args, **kwargs)%0A    gevent.spawn_later(duration, schedule, duration, func, *args, **kwargs).join()%0A

add simple helper to schedule a task periodically