The queue tag has no wiki summary.
2
votes
1answer
32 views
Send the email when specific node is created
In one of my module, i have created a checkbox on user account page. If user has checked that checkbox at that time an email is sent to all the user when any specific node is created. Lets say when ...
3
votes
4answers
169 views
Drupal queue task sequencing
Is there a way to use Drupal Queue API to sequence the execution of tasks, like in a pipeline?
My use case is pretty simple: I have a number of tasks executing in the background, doesn't matter their ...
4
votes
3answers
316 views
Do I need a cron task for processing a queue?
I've got a task that takes about 45 minutes to complete and needs to happen every day (synching users to several external database, etc).
To handle the work, I've set up a cron queue with ...
1
vote
0answers
45 views
My queue table is huge, is it safe to empty it?
I have launched some batch jobs that I didn't finish. Now I notice my queue table is almost 1 GB. Is it safe to empty it?
1
vote
1answer
47 views
Running triggered rules actions in the background?
I am using triggered rules to set off potentially lengthy actions on nodes, e.g. automatic node translation using Google Translate. Running those actions during the node creation page request slows ...
0
votes
3answers
715 views
How to manage / consume multiple Queue API queues in a module?
For a site I'm running, I'm going to have a few different queues for message sending. For example: high priority email, low priority email, high priority twitter, low priority twitter... etc.
I have ...
1
vote
1answer
127 views
How do I delete a queue?
I scheduled a big queue with VBO, but I changed my mind. How can I delete it? I don't seem to find any UI/interface to manage queues. Do I have to delete it in the database?
1
vote
1answer
78 views
drupal_queues for drupal 6
So this all starts when I hit my php memory limit, I know I can increase my php memory limit... but in order to get the process that I needed running I had to up my limit to 1026M... and I dont think ...
2
votes
1answer
156 views
What does it mean if an item in Search API has a “-1” flag and is never indexed?
Search API uses flags in the changed column of the search_api_item table to store item-level information relating to indexing. The -1 flag (something to do with queuing items?) appears to be crucial ...
0
votes
2answers
420 views
Cron queue not working
I'm trying to set up a cron queue, but for some reason, I don't manage to get this done.
Here is what I have so far:
function mymodule_cron() {
// Setup the queue
$queue = ...
0
votes
2answers
420 views
Can I force cron to process all of my queued tasks?
My D7 module uses hook_cron to mirror a big external datasource locally. For each new or updated row, $queue->createItem() schedules a task requiring several external API round trips to build the ...
2
votes
1answer
144 views
How to process more than one item from queue in each run?
I have set up a queue using:
function custom_logger_cron_queue_info()
{
$queues['custom_logger'] = array(
'worker callback' => 'custom_logger_import',
'time' => 60,
);
...
5
votes
2answers
232 views
Trade-offs between Job Queue vs. Drupal Queue
Anyone familiar with both Job Queue and Drupal Queue enough to offer an idea of the tradeoffs between the two?
In case it makes a difference, the site I'm working on uses Drupal 6. The queue I'll be ...
1
vote
1answer
630 views
Drupal queue / update module
I have a Drupal 7 site and the queue table has over 4K records. They are primarily for the "update_fetch_tasks" queue. Is the queue table by nature a temporary place holder?
I would like to clean it ...