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

Feature/cli/clear other job registries #1037

Merged
merged 4 commits into from Apr 27, 2024

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Apr 12, 2024

Description

This PR makes it as convenient to clear deferred or scheduled jobs from a queue as it was to clear failed jobs from a queue.

Look & Feel

Before we could do:

flexmeasures jobs clear-queue --queue forecasting
flexmeasures jobs clear-queue --queue forecasting --failed

Now also:

flexmeasures jobs clear-queue --queue forecasting --deferred
flexmeasures jobs clear-queue --queue forecasting --scheduled

Signed-off-by: F.N. Claessen <felix@seita.nl>
…given queue

Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x added this to the 0.21.0 milestone Apr 12, 2024
@Flix6x Flix6x self-assigned this Apr 12, 2024
@Flix6x Flix6x changed the base branch from main to feature/cli/extended-queue-info April 12, 2024 15:13
@nhoening
Copy link
Contributor

Maybe add a changelog entry for this PR and #1036?

Base automatically changed from feature/cli/extended-queue-info to main April 12, 2024 21:15
Flix6x added a commit that referenced this pull request Apr 27, 2024
@Flix6x Flix6x merged commit 8d3c778 into main Apr 27, 2024
6 of 7 checks passed
@Flix6x Flix6x deleted the feature/cli/clear-other-job-registries branch April 27, 2024 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants