0
How can I end a job on a windows 2008 server that has sat idle for 30 minutes without ending the user session? We have users that run a job then minimize the job and go on to other tasks. Because of licensing isues, we can only have a limited number of this job running at any one time, so I need to be able to automatically monitor these copies of the job and when one has sat for 30 minutes without activity, force it to end.
And this can be an automatic function, based on the task being inactive for a period of time? – user304145 – 2014-03-01T02:02:51.243
No, I was assuming you were manually killing the processes interactively. You could code something in PS or VBS to monitor a process from a user (excluding SYSTEM of course) and if the CPU is below a threshold for more than X minutes, kill the process. – SaxDaddy – 2014-03-01T02:13:22.383