Cortex4py icon indicating copy to clipboard operation
Cortex4py copied to clipboard

Can't get jobs details

Open b00lpy opened this issue 4 years ago • 1 comments

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?

b00lpy avatar Sep 03 '19 14:09 b00lpy