I have this script and works fine but i want to make a small change.The scenario is this:
Mskscss.bat: https://pastebin.com/zwZVZk99
I open AlwaysUP(i run Mskscss.bat as System) so when finds the word: ''Discovered'' in this test file ''mskscss.out.txt'' then he will do this action: net stop Mskscss (managed by AlwaysUpService) --> this command will stop this service forever.When finds the 2'nd error called 5 consecutive times the do this action: net stop Mskscss (managed by AlwaysUpService) ''.I want to change thisd,when finds this error:'' rate 0.00'' 100 consecutive times then : net stop Mskscss (managed by AlwaysUpService) wait 20 sec. and then net start Mskscss (managed by AlwaysUpService).
thank you!
Can someone help me create or modify this script?
Moderator: DosItHelp
-
- Posts: 29
- Joined: 07 Jun 2017 23:40