O
O
olezhenka2017-05-01 11:38:51
PHP
olezhenka, 2017-05-01 11:38:51

How to turn off somehow running a background script on a node?

I wrote a bot for VK, I ran it directly in the console without any pm2, it worked, everything was fine, I turned it off and it still worked with the OFF script, then I even did it, turned it off, turned it on, turned it off, turned it on, deleted the file , set it again and turned it on, and it so happened that the same script works 3 TIMES
, that is, I write hello and it should in theory give 1 answer hello, but it gives 3 answers AAA SHAKE
I work with the VK-Promise module, it costs a normal connection :
e194aeb3c41a429a817044556e538dfc.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kwolfy, 2017-05-01
@olezhenka

What OS are you running on?
If linux, then this is how you can kill all node processes
If Windows, then try opening the task manager and kill all processes with the name node

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question