cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1116
Views
5
Helpful
5
Replies

Need to schedule Automation for OPCTest status. I want to schedule a report which will give me OPCtest status command result to my email ID on every 8 hours of duration. So is there any way to do so? I need to manually go to PG and put the OPCTest command capture the status of PG services. so

Baldeep Singh
Level 1
Level 1

Hi,

I want to schedule a report which will give me OPC test status command result to my email ID on every 8 hours of duration.

So is there any way to do so?

I need to manually go to PG and put the OPC Test command capture the status of PG services. so is there any way to automate it?

5 Replies 5

Sasikumar Divvela
Cisco Employee
Cisco Employee

PG services status you can get from diagnostic framework as well. you can use API's available in that.  

Is Diagnostic Framework schedule result of OPCTest?

I already have configured Diag page, if that possible can you please let me know how to do that?

Yes we have that solution, can we create a batch file for OPCTEST status command? If yes any idea how to create that batch file?

qihlu
Cisco Employee
Cisco Employee

please refer to the attachment for the batch

You can add a schedul task of windows to run this batch every 8 hours.

ayankovs
Cisco Employee
Cisco Employee

1. you can use InputFile parameter so opctest will read commands to execute from that file and redirect output to another file. 

2. create batch file for that

3. schedule batch file execution in Windows Tasks