Skip to content
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

Can't get jobs details #17

Open
b00lpy opened this issue Sep 3, 2019 · 1 comment
Open

Can't get jobs details #17

b00lpy opened this issue Sep 3, 2019 · 1 comment
Labels

Comments

@b00lpy
Copy link

b00lpy commented Sep 3, 2019

I'm trying to write a little tool to keep monitored range limits.
By the way, I can't get any kind of information.

My main code is:

    for analyzer in analyzer_list:
        query = And(Eq('analyzer', analyzer["analyzer"]))
        jobs = api.jobs.find_all(query)

        total_jobs = jobs.__len__()
        r = {
            "analyzer": analyzer["analyzer"],
            "total_jobs_performed_today": str(total_jobs)
        }

Any suggestions?

@nadouani
Copy link
Contributor

I don't think this question is still relevant :( but what's the information your cannot get? What error do you have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants