3

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.

SapphireSun
  • 9,170
  • 11
  • 46
  • 59

3 Answers3

2

This may help:

Django - Set Up A Scheduled Job?

Community
  • 1
  • 1
Dolbz
  • 2,078
  • 1
  • 16
  • 25
2

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
  • 8,868
  • 4
  • 33
  • 43
0

How about django-cron?

Frozenskys
  • 4,290
  • 4
  • 28
  • 28
  • 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 Mar 04 '10 at 08:36