Closed (fixed)
Project:
Job queue
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2007 at 10:13 UTC
Updated:
29 Dec 2010 at 12:58 UTC
It would be nice to be able to delete jobs in the queue. Has anyone worked on adding this?
Comments
Comment #1
drummThe general plan is that modules using job queue are well-built and only queue jobs which need running. In reality, this might not be true. If something does go wrong, there is a good chance you will need to be deleting a lot. So, the UI will have to be good.
Comment #2
dreed47 commented+1 from me. I would use this feature, maybe not a lot, but definitely during initial testing and debugging.
Comment #3
doc2@drupalfr.org commentedGreat module. Would be so useful to have a delete UI...
+1 =)
Comment #4
doc2@drupalfr.org commentedI haven't seen that patch before: #329432: improve job dequeuing. This is from the developper of workflow_ng and contributor of some best-having modules. Thanks Wolfgang!
Come on people, let's test! I'll do it myself and come back then.
Comment #5
kevinquillen commentedThis should be a given. How else would you cancel jobs? I have 11 jobs queued that are to send email through drupal_mail, and they aren't completing on cron run. So, how do I get rid of them? Tell people to use mysql clients?
Comment #6
wwwoliondorcom commentedHi,
I'm using Job queue with Linkcker and have hundreds of jobs queueing, when will they be done and how to do the jobs faster ?
thanks.
Comment #7
Ryan Palmer commentedIMHO, giving users the ability to delete jobs may cause problems for modules not anticipating this possibility.
Yes, you could always delete jobs through MySQL directly (phpMyAdmin, etc)
Comment #8
drummAgreed with Ryan. This module is meant to be lightweight and the UI is for information only. If a module knows how to properly handle itself, then it can provide a UI for deleting its jobs.
Comment #9
Ryan Palmer commentedComment #10
freakalis commentedI also needed a way for "normal" users to delete queued jobs. I created a module that enables users with the right permission to delete queued jobs. http://drupal.org/project/job_queue_delete