Hi All,
I recently wrote a VBscript to email me the performance log created after a period of monitoring. I have run the script with a btachfile, and it works perfectly.
I then setup a capture log using perfmon in Windows 2000 Server, and set the schedule to run over the day (0900 – 1800), and checked the box to run a program when the logging stops. I then pointed the run field to the batch file.
I have even tried testing this over five minute intervals…
ANyway, to the point, I receive no email when the logging is finished, yet if I dbl-clk or run the batch file from the cmd prompt, it mails the correct log (csv) file as requested. Seeing as the script works on it’s own, I imagine this is a problem with Perfmon… I can supply anyone interested in helping with the script and batch file if they want to try this on their own machines to reproduce the problem.
Please help…
Will