Windows Task Scheduler kills tasks that appears to be non-responsive

mariobiron

New member
Local time
12:38 PM
Messages
3
Hello,

I have scheduled a program to run every morning that will pull data out of our SQL server (the tool is "Toad"). I want to have that data ready when I come in the morning.
Problem is, at that time, there are other tasks running on the SQL server making in slower to spit the data out, but it eventually sends it, always. Windows 7 (or the Task Scheduler itself, I am not sure which one) seems to think that the program has become unresponsive and stops it.
When I look at the history of the task, it says the last execution status is "(0x0)" meaning completed successfully. I know it did not because the Excel spreadsheets that receives the data is still open and hasn't received all the data it should - it nevers stops at the same point so it is not an issue with my retrieval scripts.
If I launch the task manually during the day, when the SQL server will respond in a timely manner, the task will complete successfullly.
If I use the tool itself, it never gets killed, and I haven't seen Window complain it has become unresponsive even when it runs for a long time.
So if anyone else experienced this issue and has solved it, how did you do it?
Otherwise, anyone knows of any settings that would prevent Windows or Task Scheduler to kill what it thinks are unresponsive tasks or at least, change the delay before it thinks so?
Thanks!
 

My Computer My Computer

At a glance

Windows 7 Pro 32 bitsIntel Core i5 2400 @ 3.1Ghz4 Gbintegrated
Computer Manufacturer/Model Number
Dell Optiplex 790
OS
Windows 7 Pro 32 bits
CPU
Intel Core i5 2400 @ 3.1Ghz
Memory
4 Gb
Graphics Card(s)
integrated
Sound Card
integrated
Monitor(s) Displays
Dell
Hard Drives
2
Hello oreo27!
Thanks for the quick reply and suggestion; I did indeed open a new thread after I answered this one, but I wanted to maximize my chances of getting an answer by doing both since he appeared to have suffered the same issue I did!
If by any chance you can remember what the registry key is, my new thread is here: http://www.sevenforums.com/performa...duler-kills-tasks-appears-non-responsive.html

Thank you! :)


Well, as for the registry key I lucked out. I just can't seem to find it.

However, there might be a silver lining in this program:

Ultimate Windows Tweaker, a TweakUI for Windows 7 & Vista

Go to the Performance tab.

There is an option there to change the kill time for non responsive tasks. I believe the maximum option is 5 seconds as opposed to the default of 4. I know that's not much gain but maybe if you can find the exact registry key it edits, you can manually edit that.

Another thing is a checkbox that says "Auto-end non-responding applications". On my system however, that is already unchecked. I'm not sure if I changed that at any given point in time so I would assume that's by default.

I can't vouch for the effectiveness of that app as I barely used it, only to customize OEM info before.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 Service Pack 1AMD Athlon II x4 Propus 2.9 GHz2 x 4GB Corsair XMS 3 DDR3 -1600 CL9AMD Radeon HD 5850 1GB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 Service Pack 1
CPU
AMD Athlon II x4 Propus 2.9 GHz
Motherboard
ASRock N68C-GS FX
Memory
2 x 4GB Corsair XMS 3 DDR3 -1600 CL9
Graphics Card(s)
AMD Radeon HD 5850 1GB GDDR5
Sound Card
On-board 6-Channel HD Audio
Monitor(s) Displays
18' LG Flatron E1942TC-BN on DVI, 18' Chimei 95ND on HDMI
Screen Resolution
1366 x 768 x 2
Hard Drives
1 x 500 GB Seagate
1 x 1 TB Western Digital Caviar Green
1 x 1 TB Hitachi Touro Mobile USB 3
PSU
Seasonic S12II 520W
Case
Generic with Cable Management
Cooling
Deep Cool Gammaxx 200
Keyboard
Dragonwar Desert Eagle
Mouse
Logitech B85
Internet Speed
5Mb/s DL, 0.9Mb/s UL
Antivirus
ESET Nod32
Browser
Google Chrome 64 Bit
Other Info
LG G4 H818P - Rooted with Xposed Framework
Back
Top