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

Cancel a running job? #43

Open
italomaia opened this issue Dec 5, 2017 · 1 comment
Open

Cancel a running job? #43

italomaia opened this issue Dec 5, 2017 · 1 comment

Comments

@italomaia
Copy link

How can I cancel a running job? Is it possible?

@jezdez
Copy link
Member

jezdez commented Dec 5, 2017

That depends on what you mean with "cancel".

The upstream project RQ allows to remove a job from the queue before or after it's processed, using the Job.cancel method. To fully delete a job with all the results from Redis there is Job.delete.

If you mean actually killing a running worker process, that's not possible as far as I know. Adding such a feature is way out of scope for this project.

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

No branches or pull requests

2 participants