pull/1/head
xiaoyu 4 years ago
parent b45d16cfe0
commit 04e51c8d3c
  1. 4
      fir_ser/api/utils/storage/caches.py
  2. 12
      fir_ser/api/views/__init__.py

@ -14,10 +14,6 @@ from api.utils.utils import file_format_path
import logging import logging
logger = logging.getLogger(__file__) logger = logging.getLogger(__file__)
try:
from api.utils.crontab import run
except Exception as e:
logger.error("import crontab.run failed Exception:%s" % (e))
def sync_download_times_by_app_id(app_ids): def sync_download_times_by_app_id(app_ids):

@ -0,0 +1,12 @@
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# project: 10月
# author: liuyu
# date: 2020/10/12
import logging
logger = logging.getLogger(__file__)
try:
from api.utils.crontab import run
except Exception as e:
logger.error("import crontab.run failed Exception:%s" % (e))
Loading…
Cancel
Save