Releases: soasme/nim-schedules
Releases · soasme/nim-schedules
v0.2.0 is released!
You can use cron
to schedule jobs using cron-like syntax.
import schedules, times, asyncdispatch
schedules:
cron(minute="*/1", hour="*", day_of_month="*", month="*", day_of_week="*", id="tick"):
echo("tick", now())
cron(minute="*/1", hour="*", day_of_month="*", month="*", day_of_week="*", id="atick", async=true):
echo("tick", now())
await sleepAsync(3000)
- Schedule thread proc every minute.
- Schedule async proc every minute.
v0.1.2 is released!
Bugfix
- #9: The first job schedule should be after startTime.
Thanks
- @sdmcallister for reporting the issue (#8).