1
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?
2EventViewer may shed some light – Dave – 2014-08-22T08:20:19.753
@Dave, would you like to convert your comment into an answer? It's quite useful – Graviton – 2014-08-22T09:29:35.090
What are the jobs doing (don't need details, just an overview). Are you sharing resources between each job for example or changing state? – Dave – 2014-08-22T10:20:37.737
@Dave, nope, no sharing of resources. Plus, all the tasks run sequently, no overlap of them – Graviton – 2014-08-22T10:49:45.363
I wonder if it's a resource issue then, like out of memory or similar (may be due to another unrelated task being executed at the same time) – Dave – 2014-08-22T10:57:44.120
@Dave, don't think so, because when I kill the schedule task, and rerun it, it still runs – Graviton – 2014-08-22T10:58:43.397
OK, was thinking it was a memory leak or similar – Dave – 2014-08-22T10:59:22.843