Score:0

Windows scheduler : will same process instances concurrently run across different Tasks?

ng flag

I have configured Windows Scheduler to not run many instances of my application : enter image description here

But i am not sure about how windows will detect many instance. I mean i have an executable that deeply change its bheaviour accordingly to command line. For that reason i have many task that will trigger the same executable with different parameters.

Will the "Do not start new instance" of one task scheduler block execution, if another instance of same program is running due to another task scheduling (with different parameters)?

What i mean is :

Task 1 -> program.exe some_param      -> Do not start new instance
Taks 2 -> program.exe different_param -> Do not start new instance

What happened if Task 2 try to start while Task 1 is running? Is Windows smart enought to understand that due to the different task and parameters they should not interfer, or second Task will wait Task 1 complention?

Score:3
cn flag

That setting does not have any affect on other tasks. So Task 1 and Task 2 will run concurrently regardless of the setting. The setting prevents running the same task concurrently. For example, if a task runs hourly, and a new instance is to be launched but the previous instance has not finished, it will not launch a new instance.

ng flag
Good, for one moment i was afraid that Windows will use process name to looking for previous instance. Glad to hear that my concern was futile, thanks
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.