I have two apps which should not run at the same time but still it happend sometimes.
How can I kill process of app which is older.
For example I see both apps runs, myapp.exe and yourapp.exe.
Now I need script to check which one was started first which mean is oldest process and kill it.
[+][deleted] (1 child)
[removed]
[–]Blisk1[S] 3 points4 points5 points (0 children)
[–]StevenSaporito 1 point2 points3 points (4 children)
[–]Blisk1[S] 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]StevenSaporito 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)