Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

leading zero are not accepted #31

Open
CircleCode opened this issue Nov 15, 2017 · 2 comments
Open

leading zero are not accepted #31

CircleCode opened this issue Nov 15, 2017 · 2 comments

Comments

@CircleCode
Copy link

most cron implementations authorize the use of leading zeros to improve readbility (and alignment).
When using a task in the form 01 * * * *, cronexpr complains about bad crontab line: 01 * * * *…
If I remove the leading zero, it works as expected.

Note : I'm using cronexpr through aptible/supercronic
i hope supercronic is not the culprit.

@nefeg
Copy link

nefeg commented Jan 11, 2018

@poornima-ns
Copy link

poornima-ns commented Jan 10, 2019

I am having the same issue as well where it errors out when leading 0s is provided in the cron expression. It would be really nice to have the fix available to public.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants