Skip to content
← Back to Community
Can my repl not be killed every time I run it?
Profile icon
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
Profile icon
JHTT
Profile icon
Highwayman
Profile icon
SUPERMECHM500
Comments
hotnewtop
Profile icon
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:

run="python main.py"
Profile icon
SUPERMECHM500

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

Profile icon
Coder100

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

Profile icon
robertvinartshu

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

Profile icon
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.

Profile icon
JHTT

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

Profile icon
HarperframeInc

@JHTT Likely.