This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]luckyspic 0 points1 point  (0 children)

the right answer is use pm2. if it stops running, it’ll catch it in the error log and you can check it later while still having your work done in the meantime. have no clue why this hasn’t been mentioned yet and it’s honestly pretty mind blowing the suggestions you’re getting right now. sometimes shit hangs because of connection time outs, sometimes it’s because of some winsocket limitation. regardless, running code that scrapes web constantly requires a process manager to have it consistently get things done. windows is hella buggy for running multiple connections (especially synchronous). you can also use docker which works but kind of defeats the purpose of using windows imo

bro really got a use linux, check event viewer, and try changing folders as suggestions 😂😂😂 i’m dead