It would be nice to be able to delete jobs in the queue. Has anyone worked on adding this?

Comments

drumm’s picture

The 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.

dreed47’s picture

+1 from me. I would use this feature, maybe not a lot, but definitely during initial testing and debugging.

doc2@drupalfr.org’s picture

Great module. Would be so useful to have a delete UI...

+1 =)

doc2@drupalfr.org’s picture

I 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.

kevinquillen’s picture

This 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?

wwwoliondorcom’s picture

Hi,

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.

Ryan Palmer’s picture

IMHO, 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)

drumm’s picture

Status: Active » Closed (works as designed)

Agreed 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.

Ryan Palmer’s picture

Status: Closed (works as designed) » Closed (fixed)
freakalis’s picture

I 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