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 support for cleaning jobs based on name #2415

Open
manast opened this issue Feb 7, 2024 · 0 comments
Open

Add support for cleaning jobs based on name #2415

manast opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@manast
Copy link
Contributor

manast commented Feb 7, 2024

Is your feature request related to a problem? Please describe.
Sometimes it is useful to only remove jobs of a given name. Names are normally not super useful, but being able to do things like filter by jobs in some operations, including "clean" could give them an extra value.

Describe the solution you'd like
Add an optional argument to "clean" for a job name. If this argument is provided, the function should only clean the jobs matching the name.

Describe alternatives you've considered
Getting jobs with the getter, filter them manually and delete the ones matching the name. This is of course pretty slow.

Additional context
Would be a useful function on UIs such as Taskforce.sh.

@manast manast added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant