kiorky / croniter

MIT License
410 stars 40 forks source link

Cannot use croniter with cron having 7 subexpression #22

Closed sonivi closed 2 years ago

sonivi commented 2 years ago

Unable to use croniter with cron expression have 7 subexpression for e.g. '0 0 0/1 1/1 ? '

can we please support cron expression having 7 subexpression

sonivi commented 2 years ago

Due to this condition https://github.com/kiorky/croniter/blob/master/src/croniter/croniter.py#L619, getting CroniterBadCronError

kiorky commented 2 years ago

as said on #18

Sorry but i'm afraid croniter mostly stick with UNIX like cron.

You may submit a PR to add the support, through.

kiorky commented 2 years ago

(duplicate #18)