Windows 7 Task Scheduler Issue - TechRepublic
Question
September 28, 2009 at 01:17 PM
jgatys

Windows 7 Task Scheduler Issue

by jgatys . Updated 16 years, 9 months ago

I’ve created a task in task scheduler which basic meaning is to shutdown PC (using shutdown.exe) at 9:30 P.M. if computer is idle for at least 30 min. If it’s not system is waiting for another 4 hours for idle to run this task. It’s quite simple, isn’t it? Every thing SHOULD work fine and it worked for two days. After that my computer stoped to shutting down from scheduler.

Here’s what I found i task log (this is my own translation from polish version of Windows so not all quotes may be as they are in english version):

1. 9.30 P.M. (as scheduler should start task): Task scheduler started task “….”
2. 1:30 A.M. (excacly four hours after scheduled task start and when he should abandon job if computer isn’t still IDLE): Task scheduler couldn’t start task “….” because computer was not idle ….. (what the fuck????)

From this log we can read that scheduler tried to start task at scheduled time but failed to start 4 hours later because computer WAS NOT IDLE !!! through this time. According to task settings scheduler should wait for 4 hours and if computer is not idle should abandon this job. THAT IS CORRECT !!! But… computer WAS IDLE begging from 9:00 P.M. as long to 1:30 A.M. Better – screen saver just ran fine after 10 min. of idle so why scheduler says that PC was NOT idle for 4 hours???? As far as I know screen saver and scheduler are using same “resources” (don’t know excacly what) to determinate if computer is idle or not.

Just to remind… just after creation, task worked fine for next 2 days. After that it stoped working with syptoms mentioned above. Can anyone tell me what the hell is wrong ???

P.S. Nothing, I mean NOTHING was changed in task settings mean while.

This discussion is locked

All Comments