We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Salamek,
I noticed the combination of individual weekdays and a range leads to syntax errors:
>>> from cron_descriptor import get_description, ExpressionDescriptor >>> print(get_description("38 20 * * 0,2,3-6")) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/cron_descriptor/ExpressionDescriptor.py", line 568, in get_description return descripter.get_description(DescriptionTypeEnum.FULL) File "/usr/lib/python2.7/site-packages/cron_descriptor/ExpressionDescriptor.py", line 101, in get_description description = choices.get(description_type, self.get_seconds_description)() File "/usr/lib/python2.7/site-packages/cron_descriptor/ExpressionDescriptor.py", line 151, in get_full_description raise FormatException(description) cron_descriptor.Exception.FormatException: An error occured when generating the expression description. Check the cron expression syntax.
Just ranges or individual weekdays do work ok.
The text was updated successfully, but these errors were encountered:
4906778
@a-dekker fixed in release 1.2.5, pip updated
Sorry, something went wrong.
No longer getting the error, thanks for the fix!
No branches or pull requests
Hi Salamek,
I noticed the combination of individual weekdays and a range leads to syntax errors:
Just ranges or individual weekdays do work ok.
The text was updated successfully, but these errors were encountered: