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
While using this snippet, it fails to limit the next dates to be between 4 and 28
from datetime import datetime from croniter import croniter from pytz import timezone def run_at(expression): base = datetime(2024, 11, 29, 0, 0, 0, 0, tzinfo=timezone("UTC")) iterator = croniter(expression, base) return iterator.get_next(datetime) expression = "*/25 */10 4-28 * */3" print(run_at(expression))
2024-11-30 00:00:00+00:00
2024-12-04 00:00:00+00:00
for example: crontab.guru output
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While using this snippet, it fails to limit the next dates to be between 4 and 28
Current Outupt:
2024-11-30 00:00:00+00:00
Expected Output:
2024-12-04 00:00:00+00:00
for example: crontab.guru output
The text was updated successfully, but these errors were encountered: