-
Notifications
You must be signed in to change notification settings - Fork 69
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
svc test-worker 可以成功执行程序,svc install 无法执行程序。 #21
Comments
配置文件里面指定一下 User 和 Password 再试试吧 |
可能是 LocalSystem 用户没有权限连接外部网络。 |
我也遇到了,同样的问题。
|
谢谢回复,但 我尝试了一下,还是不行。
|
在服务管理器里面启动服务也不行么? |
是的 |
这个程序是不是要打开一个视频文件播放? |
只能是后台console程序。 |
看来是这个问题了,谢谢答复。 |
不客气。也可以试试windows的定时任务,下面的 powershell 脚本可以注册一个定时任务,每天3点运行一下main.ps1
|
这也是个办法,谢谢指点。😉 |
npc也是这个问题 |
想部署个 npc 连 nps 的。
然后 svc.log 里给的是:
The text was updated successfully, but these errors were encountered: