From c4f142770477f26a85a7443dd6d4a8d89895f5b9 Mon Sep 17 00:00:00 2001 From: kalifranklin Date: Sat, 19 Jul 2025 13:29:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E8=84=9A=E6=9C=AC,=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E9=9D=92=E9=BE=99=E5=90=AF=E5=8A=A8=E8=84=9A=E6=9C=AC,?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=BF=BD=E8=B8=AA=E6=97=B6=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=97=B4=E9=9A=94=E4=B8=BA30=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- on.sh | 6 ------ report.py | 2 +- requirements.txt | 3 +-- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 on.sh diff --git a/on.sh b/on.sh deleted file mode 100644 index 9e14fa1..0000000 --- a/on.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash -# ─── 切到项目目录 ────────────────────────── -cd /opt/ql/DailyMotion || exit 1 - -# ─── 真正启动 Python 脚本 ─────────────────── -exec /opt/ql/daily_com/bin/python3 oneget.py -m 3 diff --git a/report.py b/report.py index 5929408..0634df0 100644 --- a/report.py +++ b/report.py @@ -72,7 +72,7 @@ last_main_run = 0 last_subsequent_run = 0 MAIN_INTERVAL = 60 * 60 # 每 5 分钟执行一次 -SUBSEQUENT_INTERVAL = 60 * 60 # 每 60 分钟执行一次 +SUBSEQUENT_INTERVAL = 30 * 60 # 每 60 分钟执行一次 # d.test() diff --git a/requirements.txt b/requirements.txt index 37427bd..10107e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,7 @@ charset-normalizer==3.4.2 et-xmlfile==1.1.0 idna==3.10 importlib-metadata==6.7.0 -lxml==5.4.0 -numpy==1.21.6 +numpy==2.3.0 openpyxl==3.1.3 pandas==1.3.5 pkg_resources==0.0.0