log end of script
if nodejs gets stuck at 100% cpu again this will let me know it's when the process is supposed to be exiting after all my code
This commit is contained in:
parent
e4b0d5cbac
commit
f9d375f249
4
index.js
4
index.js
@ -1,3 +1,5 @@
|
||||
console.log("start", Date());
|
||||
|
||||
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
|
||||
import { appendFileSync } from "fs";
|
||||
import { getNewPixivPosts } from "./pixiv.js";
|
||||
@ -12,3 +14,5 @@ for (let post of newPosts) {
|
||||
appendFileSync(`known_ids/初音ミク.txt`, "\n" + post.id);
|
||||
}
|
||||
}
|
||||
|
||||
console.log("end", Date());
|
||||
|
Loading…
x
Reference in New Issue
Block a user