Maybe add nssm

This commit is contained in:
2025-06-27 18:22:29 +02:00
parent 8eb816da9b
commit f31103d1d8
4 changed files with 14 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
*.exe filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.log

BIN
crontabd/crontabd.exe (Stored with Git LFS) Normal file

Binary file not shown.

9
crontabd/nssm.sh Normal file
View 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'