Django celery beat动态添加周期性任务实现过程解析
前期准备 1.beat插件安装 pip3 install django-celery-beat 2.注册APP INSTALLED_APPS = [ .... ‘django_celery_beat’, ] 3.数据库变更 python3 manage.py migrate django_celery_beat 配置工作 目录结构请参考://www.jb51.net/article/200659.htm 1.配置celerypro.py from __future__ import absolute_import import os from celery import Cele
用户评论