Task scheduler does not kill task
        Posted  
        
            by 
                Andomar
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Andomar
        
        
        
        Published on 2012-08-24T08:36:46Z
        Indexed on 
            2012/08/30
            21:41 UTC
        
        
        Read the original article
        Hit count: 457
        
We have a scheduled task that sometimes hangs. It just stops responding. On Windows 2003, we had task scheduler configured to kill the task after 3 hours. It's a 32-bit process.
On Windows 2008 R2, we've set "Stop the task if it runs longer than" and "If the running task does not end when requested, force it to stop".
However, when the task hangs, it is never stopped, and stays in process explorer for days.
Any clue why Windows Scheduler would not kill a process?
(This post has a reproducible setup for this issue.)
© Server Fault or respective owner