How do I restart the project on repl Every period of time
Tonialg

How do I restart the project on repl Every period of time
pls i need the

You are viewing a single comment. View All
VulcanWM

Also what will turning it on and off do? Because if you want it to do a certain function every hour or something you can use this code in Python:

from apscheduler.schedulers.blocking import BlockingScheduler
def some_job():
#do whatever you want it to do every hour

scheduler = BlockingScheduler()
scheduler.add_job(some_job, 'interval', hours=1)
scheduler.start()