last modified vs. terminate process

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
glob5
Posts: 34
Joined: 23 Nov 2010 00:47

last modified vs. terminate process

#1 Post by glob5 » 08 May 2015 18:24

I need a batch file that runs on windows 7 and that does the following:
need it to check the last modified date and time of MyLog.txt. If it is more than X number of minutes, Kills the MyLog.exe process if it is listed under the processes Image name, and calls myclean.bat.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: last modified vs. terminate process

#2 Post by foxidrive » 08 May 2015 22:44

You didn't reply once you had a solution and questions answered, in your last three threads which I looked at.
How come?

glob5
Posts: 34
Joined: 23 Nov 2010 00:47

Re: last modified vs. terminate process

#3 Post by glob5 » 09 May 2015 10:24

Due to interruptions. That is a norm for some. Without doubt, the ideas and the help always been great.

Post Reply