Skip to main content

Hi 

 

https://documentation.commvault.com/2023e/expert/GetAllRunningJobs.html

I want to filter the output for the qscript to get all running jobs.

 

Description

Get the list of running jobs (backup, admin, restore) on the clients

Usage

qoperation execscript -sn GetAllRunningJobs

script_name :GetAllRunningJobs

 

The document doesn’t have much details to it.

 

by OperationType - backup/ restore

by Client - which has %prd% 

or by ClientName - ‘abc001’

 

Is there a way to achieve this?

where can i get the list of valid options / filters that we can use with qscript. ?

Hi @alligator ,

There is no options to be used, just run this:

You need to qlogin first.

qoperation execscript -sn GetAllRunningJobs

 

Best Regards,

Sebastien


@Sebastien Merluzzi 

Thanks for your response

I’m able to run the qscript

but i would like to limit the result from the qscript for restore jobs or to a particular client etc

 


That’s all the running jobs. No options to filter, you might be able to copy/paste in excel and filter there.


i would want to use this in a workflow

 

this does work , where -format csv the results are generated in comma separated format

 

Hence i think there could be some way to filter the output 


ok, perfect.


Reply