How to find out the reason why a scheduled task hang?

Posted by Graviton on Super User See other posts from Super User or by Graviton
Published on 2014-08-22T07:55:48Z Indexed on 2014/08/22 10:22 UTC
Read the original article Hit count: 275

Filed under:
|
|

I have scheduled quite a number of tasks in my Windows 7, doing a variety of cron jobs on my machines.

I am perfectly sure that these tasks, when run on their own, won't hang. But the problem is that, when I run them daily, over the course of several days and weeks and months, occasionally some of them will hang.

So I am forced to kill the hanged task and rerun it--- and now it can run successfully!

I want to fix this problem once and for all, and for that, I need to know why a scheduled task will hang, even when I run it separately, it won't.

Anyway for me to find out the reason?

© Super User or respective owner

Related posts about windows-7

Related posts about cron