I have set up a scheduled task on a server that is running Windows Server 2012 R2. The task contains a trigger that is configured to execute every 5 minutes. The action is to launch a PowerShell script which is a business process that is responsible for invoking a system center orchestration HTTP service to launch a runbook.
I am seeing some data being duplicated and upon investigation, the root cause of this is down to multiple instances of the scheduled task being invoked at the exact same time.
I have checked to make sure that all server patches are up to date, and i have also tried to delete the task and rebuild it. This does fix it for a period of time and then it comes back.
I also read online that this can be caused by importing the scheduled task XML, however, as stated above I have deleted and re-created the task and it still happens.
I have provided screenshots of the scheduled task configuration below.
The task completes fairly quickly, and this is normal behavior.
Here is an image that shows the scheduled task triggering multiple instances at the same time.
Is anybody aware of a problem in the task scheduler, and do they know of a solution to prevent multiple instances from spawning at the same time?
Source: Windows Questions