HPE EVA Storage

Schedule EVAPerf run 24hour

 
liewj
Occasional Contributor

Schedule EVAPerf run 24hour

I have trouble configured Windows Scheduler start evaperf collection in bacth script. IT return error code:1.

Below is my sample script:

set MYDATE=%DATE:~6,6%%DATE:~3,2%%DATE:~0,2%
cmd /c "for /l %%B in (1,1,2) do ("C:\Program Files (x86)\Hewlett-Packard\EVA Performance Monitor\perf05.bat" > D:\perfdata\%%B_%MYDATE%.csv)"

and perf05.bat:

evaperf all -sz -cont 15 -dur 3600 -ts2 -csv

Thanks.