Very new to any kind of scripting but need help with creating a batch file that will stop after its first execution. Basically, I have a batch file that runs when CPU gets high using PerfMon but I want it to only run once and not continue to run and constantly email me. Please help. This is a very simple batch but if anyone has anything to make it do more by all means please let me know. Thank you...
All I am doing is using a third party CLI email app to email me when certain perfmon items go above their threshold.
REM CPU alert
@echo off
%SYSTEMROOT%\system32\bmail -options
cls
jayvo
All I am doing is using a third party CLI email app to email me when certain perfmon items go above their threshold.
REM CPU alert
@echo off
%SYSTEMROOT%\system32\bmail -options
cls
jayvo