17 lines
331 B
Python
Executable File
17 lines
331 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
CryptoAI 启动脚本
|
|
|
|
"""
|
|
|
|
import sys
|
|
from cryptoai.task_endpoint import task_start
|
|
import logging
|
|
logger = logging.getLogger(__name__)
|
|
logger.setLevel(logging.DEBUG)
|
|
|
|
if __name__ == "__main__":
|
|
logger.info("启动加密货币任务程序...")
|
|
sys.exit(task_start()) |