Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] 路径问题,导致无法运行。 #349

Closed
liqiang945 opened this issue Apr 17, 2024 · 1 comment
Closed

[Request] 路径问题,导致无法运行。 #349

liqiang945 opened this issue Apr 17, 2024 · 1 comment

Comments

@liqiang945
Copy link

🥰 需求描述

我使用的是群晖的狂神套件里安装的青龙面板。按照教程运行

开始执行... 2024-04-17 10:01:35

当前时间: 2024-04-17 10:01:36
当前版本: 24.3.19
使用配置文件路径: /ql/data/scripts/config.json

执行结束... 耗时 1 秒     

导致失败,经过查询发现路径是/volume1/qinglong/scripts/config.json
怎么进行修改和调整,期待高手的指点。

🧐 解决方案

困扰两天,未解决

📝 补充信息

No response

@ximu-tao
Copy link

ximu-tao commented May 7, 2024

可以在config.json相同路径下,创建一个python脚本文件

import os
import dailycheckin.main as dailycheckin
os.chdir("config.json所在的路径")
dailycheckin.checkin()

然后在定时任务中运行自己创建的脚本

@Sitoi Sitoi closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants