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