MicroPython job scheduling for humans.
A micronized port of <https://github.com/dbader/schedule>
The implementation uses timestamps and time tuple instead of datetime, saving a few kilobytes of RAM.
$ micropython -m upip install micropython-schedule
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)
while True:
schedule.run_pending()
time.sleep(1)
Renaud Guillon - - [email protected]
Distributed under the MIT license. See LICENSE.txt
for more information.