Skip to content
← Back to Community
schedule run of repl
Profile icon
WikingGaffa

Can you schedule a repl to run say once a day ?

-without logging in or visiting repl.it etc.
Once a day it should tjeck a website for an update

Voters
Profile icon
Laodeiman
Profile icon
SirvSupport
Profile icon
Undauntedmike
Profile icon
alanslurring
Profile icon
snxossow
Profile icon
georgeanna
Profile icon
MckhaliaBrown
Profile icon
joekreydt
Profile icon
WikingGaffa
Comments
hotnewtop
Profile icon
joekreydt

Since you are using Python, you would need to set up something to serve your application as a web page. That way, when something like UptimeRobot or Cron-Job makes an HTTP request to your Repl.it, the application with run without the need to click the Run button.

You can set your Python application up as a web site pretty easily with Flask. I'll write up a guide on this sooner or later, but in the meantime, [here's a guide that helped me do what you are trying to do.] (https://www.codementor.io/garethdwyer/building-a-discord-bot-with-python-and-repl-it-miblcwejz)

Hope it helps!

Profile icon
Nizart

have you yet made a guide?


@joekreydt

Profile icon
Vandesm14

If you use Nodejs and a Timer, it can schedule to check a website each day. In order to keep the repl running, you can use https://uptimerobot.com/

If you know Python, I believe you can have the same idea, and still use uptimerobot.

Please upvote this post if it helped you in any way.

Profile icon
WikingGaffa

@Vandesm14
Thanks for feedback.
Yes I will make the repl in python.
I will look into uptimerobot