Skip to content
New issue

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

Add next_at/2 and last_at/2 for cron time calculations #1239

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

sorentwo
Copy link
Member

@sorentwo sorentwo commented Feb 6, 2025

This implements jumping functions for cron expressions. Rather than naively iterating through minutes, it uses the expression values to efficiently jump to the next or last cron run time.

@sorentwo sorentwo merged commit d3f3021 into main Feb 6, 2025
2 checks passed
@sorentwo sorentwo deleted the cron-last-match-at branch February 6, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant