mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
Merge pull request #209 from jackhhh/patch-2
Change ddns.exe to cmd in Windows Task Scheduler.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@ECHO OFF
|
||||
REM https://msdn.microsoft.com/zh-cn/library/windows/desktop/bb736357(v=vs.85).aspx
|
||||
|
||||
SET RUNCMD="'%~dp0ddns.exe' -c '%~dp0config.json' >> '%~dp0run.log'"
|
||||
SET RUNCMD="cmd /c ''%~dp0ddns.exe' -c '%~dp0config.json' >> '%~dp0run.log''"
|
||||
|
||||
SET RUN_USER=%USERNAME%
|
||||
WHOAMI /GROUPS | FIND "12288" > NUL && SET RUN_USER="SYSTEM"
|
||||
|
||||
Reference in New Issue
Block a user