Files
lamp ff7fd7e123 update
make reliable fetch and prevent crash

add stop.bat using pid file although exit hook does not work (how to do graceful stop on windows?)
2026-05-08 14:26:39 -07:00

20 lines
696 B
Markdown

task scheduler: run whether user is logged in or not
```
cmd.exe /c start "" /B "C:\Program Files\nodejs\node.exe" . >> output.log 2>&1
```
config.js example
```js
export var access_token = "syt_***";
export var homeserver = "https://matrix.kitty.haus";
export var folder2room = new Map([
// use fsutil file queryfileid <folderpath>
// suffix n for big int
[0x000000000000000000070000001282can, "!aMGjBhBKxXGsFwUOhy:mikuobsession.net"],
[0x000000000000000000220000000cae21n, "!EgmXTLehuIzEKAvXhJ:mikuobsession.net"],
[0x000000000000000000090000000c828dn, "!vmnfrRpYAaBYPAeQew:matrix.org"],
[0x00000000000000000005000000128330n, "!oqJDDMiGEDvUFTiIKI:kitty.haus"]
]);
```