Closed abadrilov closed 2 years ago
Hi @abadrilov,
Can you please share a few more details about the requirement? Are you looking to get active jobs or all jobs by client computers?
Thanks
Hi. I want to get all my jobs that have status pending. After that i want to disable the backup activity by client name that i got before.
jobscontroller: JobController = JobController(connect)
for clients in clients_name:
jobs: dict = jobscontroller.active_jobs()
There is no any information about ClientComputers in output. 'status': 'app_type': 'job_type': 'percent_complete': 'pending_reason':
Hi @abadrilov The dev branch has a change that will allow you to get client ID and client name (wherever applicable) from JobController https://github.com/Commvault/cvpysdk/blob/dev/cvpysdk/job.py
Hello. Could you add information about client computers in JobControole.activejobs or alljobs?