Sometimes different scheduled tasks on different servers just stop working for no apparent reason (at least none I could clearly identify) and I would like to get notified about it via email and/or want the process get automatically killed.
The tool I'm searching for should run as a Windows service and I would like to specify the processes to look for via regular expressions which should be applied to the command lines of all running processes.
|
| |||
feedback
|
|
I've not heard of a program to do that, but when setting up a scheduled task you can go into the Settings tab, and set it to kill the task if it runs for more than X hours/days. | |||
|
feedback
|
|
The SysinternalsSuite has a tool called
It can take a " Once you decide you want to kill a process, there is a similar tool, A long-running task is not necessarily stalled. Both these tools are command line, allowing you to script from the control machine | ||||
|
feedback
|
|
Set up a scheduled task with taskkill
But than off course you don't get any feedback on what it killed Perhaps you can let a command echo you what programs are non-responding and email the echo to you. Or check if VisualCron can help do the job for you, it let's you set up scheduled tasks, also for killing tasks and notifies you in whichever way you want. With a simple GUI to setup the scheduled task. However I couldn't find if it also checks for tasks that are non-responding...
Though I suspect you're asking for a solution that will either require some coding from your side or simply doesn't exist... | ||||
|
feedback
|
