Codeigniter-jobQueue icon indicating copy to clipboard operation
Codeigniter-jobQueue copied to clipboard

Usage of workers

Open kapasipk opened this issue 9 years ago • 4 comments

Hi, I tried using the code. The documentation helped. I was able to create and add jobs in a high queue using the create function call and was able to check the length of the queue get incremented using the get_queue_size function call. However, I am still not clear on how to execute the tasks present in the queue. I know I need to call the workers, but on running the function worker($worker_name, $queues, $interval) the logs always said the worker is waiting for a job. Appreciate the help. Thanks.

Edit: It'll be good if you can provide a common working example.

kapasipk avatar Oct 27 '16 18:10 kapasipk

I am facing the same issue, how did you solve it ?

jasbirsingh-c avatar Feb 09 '17 13:02 jasbirsingh-c

@adityak74 Please share your solution here.

kapasipk avatar Jul 15 '17 22:07 kapasipk

I have the same issue some. anyone got solution..?

chaturanga836 avatar Jan 08 '18 09:01 chaturanga836

when you call method create it's need you to define the controller, method & params. controller & method here's is to handle your jobs. make sure you have created it before calling your worker.

underdos avatar Aug 13 '18 07:08 underdos