Maybe add nssm
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.exe filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.log
|
BIN
crontabd/crontabd.exe
(Stored with Git LFS)
Normal file
BIN
crontabd/crontabd.exe
(Stored with Git LFS)
Normal file
Binary file not shown.
9
crontabd/nssm.sh
Normal file
9
crontabd/nssm.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
nssm install crontabd 'C:\Users\Administrator\Seafile\Projects-Go\GoProjects\crontab\crontabd\crontabd.exe'
|
||||
nssm set crontabd AppDirectory 'C:\Users\Administrator\Seafile\Projects-Go\GoProjects\crontab\crontabd'
|
||||
nssm set crontabd AppExit Default Restart
|
||||
nssm set crontabd DisplayName crontabd
|
||||
nssm set crontabd ObjectName LocalSystem
|
||||
nssm set crontabd Start SERVICE_AUTO_START
|
||||
nssm set crontabd Type SERVICE_WIN32_OWN_PROCESS
|
||||
nssm set crontabd AppStdout 'C:\Users\Administrator\Seafile\Projects-Go\GoProjects\crontab\crontabd.log'
|
||||
nssm set crontabd AppStderr 'C:\Users\Administrator\Seafile\Projects-Go\GoProjects\crontab\crontabd.log'
|
Reference in New Issue
Block a user