Is there a way to keep a repl running constantly?
For a project i need to have replit running constantly. Is this acchievable? and how? This means its still on even if i close my laptop
@CoolJames1610 im new to this can you please tell me which url im supposed to put on uptimebot and how to use flask.
Yes there is a way. Go and fuck the project "python always running" and use the "uptimerobot"
@Mixxer How did you accomplish that?
@JakeTaylor11
I created a expressJS server than I kept the repl running with UpTime robot.
And if UpTime Robot stops working, You can use Cron-Jobs!
@Mixxer CronJobs is amazing
I don't know if this is helpful but nothing can run while a computer is asleep or shut down, the only way is to keep it open and try and find a way so it doesn't sleep.
@MarblesAndMore You sure abt that? Can't you just use something like UpTimeRobot to keep your server from sleeping?
@JeswinSunsi Well I don't think I can get that on my computer so I was only really talking from experience I guess
@MarblesAndMore Tbh u can, I just set it up. Go to uptimerobot, make a new monitor, set it to ping your repl server every five minutes.
@JeswinSunsi Ping ?? or http ?? I saw in the article that they use http
use http
@RahulPlays
@MarblesAndMore This has been changed. you can run it 24/7 live. hosted in cloud in repl.it
@ravishersingh1 How dod you do this?
@MarblesAndMore repl does not take place on your local machine
For my Discord Bot, I use Flask and UpTimeRobot to keep the bot alive
@CoolJames1610 how do you do that?
@CoolJames1610 I use UpTimeRobot, but the bot keeps forgetting other commands from other Repls.
@Jakeyboi another problem with this method, which i have learned the hard way, is that each time uptime robot pings your repl, it essentially resents all processes. My code is a reactionary scanner, for example, and I pass a discord message to an infinite while loop. each time uptime robot pings my repl, the information from the original discord message is lost.
@CoolJames1610 UptimeRobot makes your bot unstable I would suggest using https://console.cron-job.org/ or Freshping or apptime.