xontrib-schedule defines the schedule builtin, which is strongly based on schedule with some
additions for non-periodic tasks.
To install use pip:
xpip install xontrib-schedule # or from git: xpip install git+https://github.com/AstraLuma/xontrib-schedule
# and load:
xontrib load scheduleschedule.when(<time>).do() performs a task at some absolute time in the future.
schedule.delay(<time>).do() performs a task after a delay.
schedule.delay(5).do(lambda: print('hello!'))
# wait 5 sec
hello!Fork, submit a pull request, and we'll have a discussion. Keep to PEP8.
TBD
This package was created with cookiecutter and the xontrib template.