Skip to content
Keeping repl permanently alive.
Profile icon
StringentDev

So I have been making a repl that allows you to store items online but every time, after a certain amount of time, it shuts down the express server (nodejs) and it loses all data except users that have registered. Can someone help me to keep it online (eg. An example that works)?

Thanks in advance.

Note: the server is based off lolisafe and the script is at lolisafe.js.

Edit: db is not an option and uptime robot lasts 2 months.

You are viewing a single comment. View All
Profile icon
[deleted]

use this:
ping.mat1.repl.co
just enter in the url, and ill keep the site up

Profile icon
StringentDev

thanks it actually worked!

@TaylorLiang

Profile icon
Pandapip2

If you can force the repl to crash using kill 1 when the repl crashes, then using the url ping.mat1.repl.co/__tail should turn the repl back on. Just have the repl run "kill 1" on exit, e.g. have a bash script that looks like this:
node main.js >> main.log
kill 1

Profile icon
StringentDev

thanks for the heads up!

@Pandapip2

Profile icon
DeBeast591

@TaylorLiang
could pinging the site for a long time cause it to crash or be shut down by repl.it?

Profile icon
[deleted]

@DeBeast591
Nope. I had a site that I pinged for around 4 months. Didnt crash once

Profile icon
DeBeast591
Profile icon
StringentDev

mine is that all over

@DeBeast591

Profile icon
5alidshammout

thaaaaaaaaanks

Profile icon
AkshitRai

thanks man you are awesome

Profile icon
LuuNoo

thank you it works !

Profile icon
StringentDev

@LuuNoo
Seems that the website is not active often, leading to errors occasionally. You could try freshping.

(HOW is this post still alive!)

Profile icon
JaySmith11

Nonetheless, save a few hours toward the beginning of the day and evening for continuous work. What's more, however telecommute is about adaptability, attempt to begin and complete (!) your day on time too.Setting cutoff times for message answers and following your group's movement is OK; actually, mind the management level. Individuals aren't robots to sit before the screens for 8 hours and reply in practically no time, however you can here and there require prompt answers. Indeed, if so – simply call, don't message. Also, attempt to try not to be excessively official at calls – side remarks and jokes assist with making the air less tense.Working from home requires a progress to computerized reality from each business cycle player. Furthermore, project supervisors face considerably more difficulties since pioneers need to discover better approaches to work together with their groups, partners, and customers, you can always read interesting post for more details about IT world and trends.However, boosting your usefulness is conceivable – with new ways to deal with correspondence and fair programming. Mechanization stages offer a lot of phenomenal components that can be fused into your work process with the assistance of a Salesforce senior. Along these lines, come into the new world!

Profile icon
StringentDev

@JaySmith11
Well yes ik about that.

Profile icon
shkeffy

Hey, do you ping the Repl or the website using https://ping.mat1.repl.co/#?

@StringentDev

Profile icon
StringentDev

@shkeffy
nope - that has not been maintained. try a service like uptime robot or freshping.

Profile icon
shkeffy

@StringentDev
Aw, dang...

Profile icon
johmon6

@Pandapip2
Does hooking the exit event and running language specific equivalents (eg Javascript's process.exit(1)) in the main code also work to this same effect?