taichino / croniter

croniter is a python module to provide iteration for datetime object.
http://github.com/taichino/croniter
387 stars 105 forks source link

Don't count previous minute if now is dynamic #97

Closed Khrol closed 6 years ago

Khrol commented 6 years ago

If the code is triggered from 5-asterisk based cron get_prev based on datetime.now() is expected to return current cron iteration and not previous execution.

kiorky commented 6 years ago

Thx released: https://pypi.org/project/croniter/0.3.22/#changelog