diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5135af0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.exe filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..397b4a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.log diff --git a/crontabd/crontabd.exe b/crontabd/crontabd.exe new file mode 100644 index 0000000..f584093 --- /dev/null +++ b/crontabd/crontabd.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07372bec0b6132a557053598a10db61a38b6f2a53f6f6b43bb179e05195e26f5 +size 3502080 diff --git a/crontabd/nssm.sh b/crontabd/nssm.sh new file mode 100644 index 0000000..c03eef5 --- /dev/null +++ b/crontabd/nssm.sh @@ -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' \ No newline at end of file