[go: up one dir, main page]

ValueError("Sequence can not be divided by zero or max") when using */59 for Minutes

Created by: DeepSpace2

Hi. When trying to parse a cron file that contains */59 for Minutes, self.seq > self.slice.max - 1 is True and therefor ValueError is raised:

https://github.com/doctormo/python-crontab/blob/449038d7c38a120fc883a60aa78be4ff9b88a606/crontab.py#L1220-L1221

I'm wondering if this is the indented behavior or a bug :)