Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a scheduled task set up in my Windows 7 machine which is meant to run a BAT file when I'm not around, i.e. the machine has been idle for 15 minutes.

Does anyone know how to track down the cause of the error code ?

Checked on MSDN and it says ...

SCHED_E_TASK_ATTEMPTED
0x80041324
The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.

And to confuse me even further, I've just noticed it has run while I'm at the machine with last result (0x0)

share|improve this question

1 Answer 1

up vote 5 down vote accepted

If you look on your task properties, there is the Conditions tab. Any of these conditions could stop the task. For instance, if you have Start the Task only if running on AC Power and Stop task if the computer switches to battery power, and you unplugged your laptop, that would cause this exit condition.

Same goes from Start only if only has been idle for ... and Stop if no longer idle.

That's just an example of anything on that tab which could cause it not to run or stop running prematurely.

share|improve this answer
1  
Thanks for the pointer –  SteveC Dec 23 '10 at 12:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.