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 created a new Task in my task scheduler and I wanted it to be running only if the computer is idle for 10 min.

but then I saw this checkbox which I don't understand what it does :

enter image description here

The help says :

If a task is set to start only if the computer is idle for 30 minutes, and the task waits for the computer to be idle for 10 minutes, then the task will launch in 5 minutes only if the computer has been idle for 25 minutes prior to the time the trigger was activated. The task will not start if the computer enters an idle state 5 minutes after the trigger is activated.

Sorry I don't understand this explanation. ( where the 5 min came from ???)

can someone please shed light ? ( in simple words)

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You are right: that explanation is very hard to follow! I'll try to explain it a different way:-

In your screenshot you have a task that will trigger at a certain time. When this task triggers, it will only execute if the statement "the computer has been idle for 10 minutes" is true. The task will wait up to an hour for the statement to become true, and then it will give up.

If the computer has been idle for 10 minutes or more when the task is triggered, it will execute immediately. Otherwise it will wait.

If the computer becomes idle after, say, 15 minutes after the task triggered, the task will continue waiting. 25 minutes after the task triggered, the statement "the computer has been idle for 10 minutes" becomes true, so the task will execute.

If the computer doesn't become idle within 50 minutes of the task being triggered, the task will not execute. That's because the task will stop waiting after 60 minutes, so if the computer becomes idle more than 50 minutes after the task was triggered, the statement "the computer has been idle for 10 minutes" won't be true until after the specified 1 hour wait is over.

share|improve this answer
    
Why do you mention re-run tasks in your answer ? the setting for this is in another tab. –  Royi Namir Jul 6 at 7:44
    
at first - there is no task triggered –  Royi Namir Jul 6 at 7:45
    
I don't mention 're-run tasks' in my answer. –  mmmason Jul 6 at 7:45
    
...if the computer has been idle for 10 minutes or more when the task is triggered,... –  Royi Namir Jul 6 at 7:47
2  
I don't understand. All Scheduled Tasks get triggered at the time that they are specified to run. If you set a Scheduled Task to run at, say, 11:15 then it will be triggered at 11:15. If there are conditions set (such as the computer having to be idle), then although the task is triggered it might not necessarily execute. –  mmmason Jul 6 at 7:50

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.