Ask coding questions

← Back to all posts
schedule run of repl
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
alanslurring
snxossow
georgeanna
MckhaliaBrown
joekreydt
WikingGaffa
Comments
hotnewtop
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.

Hope it helps!

Nizart

have you yet made a guide?
@joekreydt

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.

WikingGaffa

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