You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flyapps/fir_ser/api/views/__init__.py

14 lines
282 B

4 years ago
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# project: 10月
# author: liuyu
# date: 2020/10/12
import logging
4 years ago
4 years ago
logger = logging.getLogger(__file__)
try:
from api.utils.crontab import run
except Exception as e:
4 years ago
logger.error("import crontab.run failed Exception:%s" % (e))