How can I temporarily turn my node.js app off


#1

I am hosting a discord bot, on glitch, but right now i have a free aws trial, still going on, so I want to find a way to temporarily turn off my node app and start it whenever I need


#2

I think deleting your project and then restore it when you need is what you want. Also remove any of ping methods like uptimerobot if you are using it.


#3

You could remove the code that starts the discord server.


#4

An easy way would be to just remove the token, or comment out the line with it, and restart.


#5

Have you tried Token renewal?