Jul-12-2019, 09:52 PM
(Jul-12-2019, 06:58 PM)nilamo Wrote: https://schedule.readthedocs.io/en/stable/ maybe?
Quote: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().monday.do(job) schedule.every().wednesday.at("13:15").do(job) schedule.every().minute.at(":17").do(job) while True: schedule.run_pending() time.sleep(1)
I was not able to install the "time" package. Would there be a work around?
Thank you,
yeto