#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ # @Version : Python 3.11.4 # @Software : Sublime Text 4 # @Author : StudentCWZ # @Email : StudentCWZ@outlook.com # @Date : 2023/11/7 16:16 # @File : task.py # @Description : """ from flask import current_app @current_app.celery.task def update_database(): # Add your database operations here print(123312312) pass