Answer the question
In order to leave comments, you need to log in
How to show periodic tasks in Django admin?
Installed django-celery , created a scheduled task:
@periodic_task(run_every=datetime.timedelta(minutes=1))
def test():
print 'test task'
return True
python manage.py runserver
celery -A app worker -l info -B
python manage.py celerycam --frequency=10.0
Task app.celery.test[a82425bb-400e-477e-9a6b-1f2e68f30713] succeeded in 0.00270485699912s: True
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question