S
S
SideWest2019-07-23 21:25:00
Node.js
SideWest, 2019-07-23 21:25:00

Script is disabled on AWS, why?

I connect, start

nohup node bot.js &

Everything works, I'm lying on the bed happy, and then the fig and the script is off. The
bot does not work.
How can I understand why? I can’t even look at the console because after 10 minutes of afk the connection is disconnected there

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BestJS, 2019-07-24
@SideWest

https://www.youtube.com/results?search_query=PM2
pm2.keymetrics.io
PM2 - Advanced process manager for Node.js
There is logging, clustering, starting daemons, auto start, auto restart on error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question