Time-based task scheduler using gevent