Ask coding questions

← Back to all posts
Can my repl not be killed every time I run it?
SUPERMECHM500

I'm trying to run a discord.py bot, and sometimes repl.it stops it, I have to run it to update package installations. When that happens, repl.it eventually kills the 'signal' of the repl. So I run it again only to find that repl.it doesn't like it so it keeps KILLING IT.

I need my discord bot online, why does repl.it have to be a meanie over it?

I use UptimeRobot to monitor these occasions.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
JHTT
Highwayman
SUPERMECHM500
Comments
hotnewtop
Coder100

Hi! If repl.it doesn't kill the repl, then there would be 2 instances and then it wouldn't work at all.

Anyways, you can configure it to not install packages.
Create a .replit file:

SUPERMECHM500

@Coder100 What about repl process died unexpectedly: signal:killed errors?

Coder100

oh, those can't be done about, usually, that happens when you manually stop it @SUPERMECHM500

robertvinartshu

Hey, did you figure out how to stop it from happened by any chance, since it's been doing the same for me.

HarperframeInc

Uptime Robot pings your repl every 5 minutes, and sometimes repl.it will crash between these 5 minutes. If you plan to bring your bot online only, try using a hosting provider instead. Please ask any questions.

JHTT

@HarperframeInc will uptime robot auto wake repl.it up after it's 5 min interval?

HarperframeInc

@JHTT Likely.