From 68d095c990ade5a8acb3b3931acb3afe3e98a86c Mon Sep 17 00:00:00 2001 From: aaron <> Date: Mon, 28 Apr 2025 16:32:21 +0800 Subject: [PATCH] update --- qinglong_task.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qinglong_task.sh b/qinglong_task.sh index ac0b627..1fc57b7 100755 --- a/qinglong_task.sh +++ b/qinglong_task.sh @@ -2,11 +2,11 @@ # 青龙面板定时任务脚本 - CryptoAI加密货币分析 # 设置工作目录 -WORKDIR="/ql/scripts/cryptoai" +WORKDIR="/ql/data/scripts/cryptoai" # 如果目录不存在则退出 if [ ! -d "$WORKDIR" ]; then - echo "工作目录不存在,请先将CryptoAI项目上传到青龙容器内的 /ql/scripts/cryptoai 路径" + echo "工作目录不存在,请先将CryptoAI项目上传到青龙容器内的 /ql/data/scripts/cryptoai 路径" exit 1 fi @@ -53,9 +53,9 @@ echo "开始执行CryptoAI分析: $(date)" echo "==============================" # 检查是否有Python虚拟环境 -if [ -d "/ql/scripts/cryptoai/venv" ]; then +if [ -d "/ql/data/scripts/cryptoai/venv" ]; then echo "使用项目虚拟环境" - source /ql/scripts/cryptoai/venv/bin/activate + source /ql/data/scripts/cryptoai/venv/bin/activate fi # 检查依赖是否安装