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

Schedule based on cron expressions #263

Merged
merged 5 commits into from
Jan 3, 2025
Merged

Schedule based on cron expressions #263

merged 5 commits into from
Jan 3, 2025

Conversation

Kamil-Lontkowski
Copy link
Contributor

Closes #249

Defines additional Schedule to run based on cron expressions defined with cron4s.

@Kamil-Lontkowski Kamil-Lontkowski self-assigned this Dec 31, 2024
@Kamil-Lontkowski
Copy link
Contributor Author

Kamil-Lontkowski commented Dec 31, 2024

Regarding this draft I implemented repeat methods based on scheduling.repeat but for example I don't know if shouldContinueOnResult makes sense in this case.

I am also wondering how to test this without making tests that will last long. Since we don't have any abstraction over time it might be hard to test scenarios like checking if schedule works every hour.

There is also small correction in adaptive retries docs.

@Kamil-Lontkowski Kamil-Lontkowski marked this pull request as ready for review January 2, 2025 16:26
@Kamil-Lontkowski Kamil-Lontkowski requested a review from adamw January 3, 2025 11:30
@adamw adamw merged commit 6368555 into master Jan 3, 2025
5 checks passed
@adamw adamw deleted the cron-expressions branch January 3, 2025 13:00
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.

Create a repeat config basing on a cron expression
2 participants