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 - - renaud.guillon@gmail.com
Distributed under the MIT license. See LICENSE.txt
for more information.