mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 18:03:42 +08:00
11 lines
211 B
Python
11 lines
211 B
Python
# -*- coding:utf-8 -*-
|
|
|
|
from flask import current_app
|
|
|
|
from api.extensions import celery
|
|
|
|
|
|
@celery.task(queue="ticket_web")
|
|
def test_task():
|
|
current_app.logger.info("test task.............................")
|