pip install django-celery-beat Usage To use the Celery Beat command in Python, we need to define the periodic task in our Django application. For example, let's say we want to schedule a task to send an email every day at 9 am. Here is how we would define the task: ...
查看celery文档 timezone = 'Asia/Shanghai' # 时间取值时区 enable_utc = False # 涉及时区的时候需要该参数 timezone_aware = False # 关闭aware感知