DDNS icon indicating copy to clipboard operation
DDNS copied to clipboard

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

Open sehczaa opened this issue 2 years ago • 8 comments

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

sehczaa avatar Feb 25 '24 16:02 sehczaa

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

NewFuture avatar Feb 26 '24 03:02 NewFuture

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

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

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

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

singleghost2 avatar Jul 22 '24 17:07 singleghost2

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

有日志输出吗?(打点)

NewFuture avatar Jul 23 '24 08:07 NewFuture

没有日志。

执行的命令: 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
}

singleghost2 avatar Jul 23 '24 17:07 singleghost2

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

NewFuture avatar Jul 24 '24 06:07 NewFuture

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

对的

singleghost2 avatar Jul 25 '24 01:07 singleghost2

试试这个隐藏 image

NewFuture avatar Jul 25 '24 08:07 NewFuture

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

singleghost2 avatar Jul 27 '24 13:07 singleghost2