jack 1 年之前
父節點
當前提交
526c9302ad
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      message/message_coinmarketcap.py
  2. 1 1
      utils/utils_ql_create_tasks.py

+ 1 - 1
message/message_coinmarketcap.py

@@ -41,7 +41,7 @@ def get_coinmarketcap_coin_price():
             time.sleep(5)
             continue
 
-        result += f'target: {target}\n'
+        result += f'{target}\n'
 
         if resp.status_code == 301:
             print(resp.text)

+ 1 - 1
utils/utils_ql_create_tasks.py

@@ -158,7 +158,7 @@ def main():
                     {
                         "name": "获取 coinmarketcap 数字货币实时价格",
                         "command": "python3 {}/message_coinmarketcap.py".format(message_path),
-                        "schedule": "*/30 * * * *",
+                        "schedule": "*/10 * * * *",
                         "labels": ["message"]
                     },
                     {