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
Pending Jobs Counter #2886
Comments
There is probably a way to trigger |
Api? Huginn expose api? Where i can find some docs? thanks |
Well, I use the term API a bit loosely 😄 . We don't have anything officially documented, but every action that is done manually basically just makes HTTP to the Huginn server. The best option to see what does what is to treat Huginn the same as any other website you want to scrape/automate via Huginn. The amount of pending jobs can be retrieved via
|
Oh My god is what i was looking for! now i can reboot my docker only if pending is Greater of 100. thank you. Last question: any way to bypass auth page for the api curl request? Because i receive this message:
Using a browser, and after login, the api works successful! (but I need to authenticate trough curl for my checkhuginnpendins.sh script!) |
Sorry for the super late response, the "API" calls via curl have to be authenticated, when you have a cookie you can replicate a call like this with curl. |
Hi,
I'm having some trouble with pending jobs running on docker.
Is there any way to know using ps aux (for example) the number of pending jobs?
I nee to monitor this value..
I'm running
/snap/bin/docker exec CONTAINERID ps aux | grep foreman | wc -l
to retrieve the number of foreman process
I need some egual command to get the pending jobs..
May someone help me?
Thanks
The text was updated successfully, but these errors were encountered: