-
Notifications
You must be signed in to change notification settings - Fork 104
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
Cli features #33
Comments
|
Or write a script to do that, or use a persistent store (sqlite, drizzle, etc.) and do a count on the number of rows. |
thanks for the comment, I got another question: nc localhost 4730 status I got something like this worker ~ function 184 0 0 Is there a way or command to reset the queue? |
"184" is number of jobs queued, "0" is number of jobs processing, the final "0" is number of workers connected that can process that job. To clear the queue, you can just restart gearmand. There's also a 'gearman' command you can install (e.g., on ubuntu) that provides some utilities. |
Leaving this open as things like this could make for a handy CLI tool. |
Could be nice, with this new version, add some new cli features. Any ideas? |
Hello,
Is there a way to get the queue length?
Indeed, I run the method doBackgroundJob when I want to execute an action but I got a problem if the worker isn't launched : my queue increases without any reason. So I'd like to know the queue length in order to avoid useless doBackgroundJob.
Thanks for the answer
The text was updated successfully, but these errors were encountered: