Download index.js from khoadang31/uptimerobot: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/khoadang31/uptimerobot/resolve/main/index.js
- Command line
-
hf download hf://khoadang31/uptimerobot/index.js
-
curl -L -o index.js https://huggingface.co/khoadang31/uptimerobot/resolve/main/index.js
210 Bytes
| const cp = require('child_process'); | |
| start = () => { | |
| var child = cp.fork(__dirname + '/server.js'); | |
| child.on("close", () => { | |
| console.log("Restarting...") | |
| setTimeout(() => start(), 250) | |
| }); | |
| }; | |
| start(); |