报错内容大致如下图: 解决方法: 在@shared_task 修饰器加入参数name,name的值为在setting.py文件中定义的定时任务的task参数 如: setting.py: app/tasks.py: