Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Let's say I have scheduled Task A in Windows Server task scheduler, and it's set to run 6 times a day.

I manually run it 20 minutes before it's about to run next, but I forget that it's going to take about 20 minutes to run so I don't want it to run multiple instances of it concurrently.

If I disable the task will it stop the current process that's running the task immediately or will it continue until it finishes?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you disable a task while it is running it does not stop the current execution, the current process will continue to run until it finishes.

Just all next scheduled executions will be disabled.

If you run a task manually and don't want it to start again automatically while your manual run is still processing, you can setup the task to apply the rule "do not start a new instance if the task is already running" (however, this is the default config when you create a new task).

share|improve this answer

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.