Incidentally, I'd rather have it in Python 3
Incidentally, I'd rather have it in Python 3
One of the options would be to use a Job Scheduler, in short it will schedule a task and when its time comes, it will be executed, it will be able to repeat or not, it depends on how you scheduled the job.
Ex lib one:
import schedule
import time
def job():
print("I'm working...")
schedule.every(10).minutes.do(job)
schedule.every().hour.do(job)
schedule.every().day.at("10:30").do(job)
schedule.every(5).to(10).minutes.do(job)
schedule.every().monday.do(job)
schedule.every().wednesday.at("13:15").do(job)
while True:
schedule.run_pending()
time.sleep(1)
Have a general introduction about.