Celery beat with method tasks not working
I'm trying to run celerybeat on a method task, and can't get anything to work out properly. Here's an example setup: from celery.contrib.methods import task_method from celery import Celery, current_app celery=celery('tasks', broker='amqp://guest@localhost//') celery.config_from_object("celeryconfig") class X(object): @celery.task(filter=task_method, name="X.ppp") def ppp(self): print "ppp" and my celeryconfig.py file is from datetime import timedelta CELERYBEAT_SCHEDULE = { 'test' : { 'task' : 'X.ppp', 'schedule' : timedelta(seconds=5) }, } When I run celery beat , I'm getting errors like: