Skip to main content
Question

What are some options i can use with the qscript for GetAllRunningJobs


Forum|alt.badge.img+9

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. ?

5 replies

Forum|alt.badge.img+14

Hi @alligator ,

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

You need to qlogin first.

qoperation execscript -sn GetAllRunningJobs

 

Best Regards,

Sebastien


Forum|alt.badge.img+9
  • Author
  • Byte
  • 62 replies
  • October 26, 2023

@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

 


Forum|alt.badge.img+14

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


Forum|alt.badge.img+9
  • Author
  • Byte
  • 62 replies
  • October 26, 2023

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 


Forum|alt.badge.img+14

ok, perfect.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings