I was looking for a simple scheduler implementation using gevent. It seems gevent.core.event is able to do this but I am not sure.
The scheduler is very simple. I want to be able to schedule tasks to be executed later in time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is
gevent.spawn_laterwhich will take seconds, a callback function and the *args and **kwargs for the callback.Here is the doc on that http://www.gevent.org/gevent.html#gevent.spawn_later