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

windows下的ddns.exe定时运行问题 #429

Open
sehczaa opened this issue Feb 25, 2024 · 8 comments
Open

windows下的ddns.exe定时运行问题 #429

sehczaa opened this issue Feb 25, 2024 · 8 comments

Comments

@sehczaa
Copy link

sehczaa commented Feb 25, 2024

windows下的ddns.exe在自动循环运行时总是隔五分钟弹出命令运行窗口出来,这个要怎么隐藏呢

@NewFuture
Copy link
Owner

可以用管理员身份运行添加

@singleghost2
Copy link

singleghost2 commented Jul 22, 2024

可以用管理员身份运行添加

我用管理员身份添加了,但是任务根本就不会定时运行了,打开“任务计划程序”,选中DDNS任务,右键“运行”,完全没有反应,但是如果是普通用户添加的,在“任务计划程序”中手动运行是会正常执行的。

image
图里面的{“上次运行时间”永远不会更新

环境:
版本 Windows 11 家庭中文版
版本号 23H2
安装日期 ‎2023/‎2/‎28
操作系统版本 22631.3880
体验 Windows Feature Experience Pack 1000.22700.1020.0

@NewFuture
Copy link
Owner

@singleghost2 看看执行的命令是啥?

有日志输出吗?(打点)

@singleghost2
Copy link

没有日志。

执行的命令:
image

config.json的内容:

{
  "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
  "debug": true,
  "dns": "alidns",
  "id": "LTAI5tN6K4ESYxKDKK8UXMbW",
  "index4": "public",
  "index6": "public",
  "ipv4": [
    "home.xxx.ink"
  ],
  "ipv6": [
    "home.xxx.ink"
  ],
  "proxy": "127.0.0.1:7890;DIRECT",
  "token": "xxxxxxxxxxxxxxxxxxxxxxxxx",
  "ttl": null
}

@NewFuture
Copy link
Owner

@singleghost2 是通过 task.bat 这个脚本创建的吗?

@singleghost2
Copy link

@singleghost2 是通过 task.bat 这个脚本创建的吗?

对的

@NewFuture
Copy link
Owner

试试这个隐藏
image

@singleghost2
Copy link

勾选“隐藏”没有作用, 勾选“不管用户是否登录都要运行”和“不存储密码”似乎管用,日志里面有信息了

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