views:

155

answers:

3

Hey Everyone,

I want to schedule events to happen for my users. Is there an efficient way to do this in Python/Django easily? I'd prefer not to poll a priority queue.

Thanks!

Edit: I want to clarify that this job is run per user, for potentially hundreds or thousands of users.

A: 

How about django-cron?

Frozenskys
Not quite what I want. I want an event to trigger after x amount of time has elapsed and preferably it should scale to thousands of users without locking up the machine.
SapphireSun
+3  A: 

You should probably look at: http://celeryproject.org/

From the website:

"Celery is already used in production to process millions of tasks a day."

John Montgomery