206c7ebcd4
I've used it to test celerybeat. In my local me.py, I added the following setting: CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "regluit.core.tasks.send_mail_task", "schedule": datetime.timedelta(seconds=60), "args": ('hi there', 'testing 1, 2, 3', 'raymond.yee@gmail.com', ['raymond.yee@gmail.com']) }, } and then ran django-admin.py celerybeat -l INFO and started getting email sent to me every minute! |
||
---|---|---|
.. | ||
fixtures | ||
management | ||
migrations | ||
__init__.py | ||
bookloader.py | ||
feeds.py | ||
goodreads.py | ||
isbn.py | ||
librarything.py | ||
lookups.py | ||
models.py | ||
search.py | ||
signals.py | ||
tasks.py | ||
tests.py | ||
userlists.py | ||
views.py |