Celery Received unregistered task of type (run example)

后端 未结 30 1870
旧时难觅i
旧时难觅i 2020-11-28 04:42

I\'m trying to run example from Celery documentation.

I run: celeryd --loglevel=INFO

/usr/local/lib/python2.7/dist-packages/celery/loade         


        
30条回答
  •  無奈伤痛
    2020-11-28 05:01

    Write the correct path to the file tasks

    app.conf.beat_schedule = {
    'send-task': {
        'task': 'appdir.tasks.testapp',
        'schedule': crontab(minute='*/5'),  
    },
    

    }

提交回复
热议问题