There is a task in task scheduler - at startup run the program and repeat every 3 hours. The option "do Not launch new instances" (Do not start new instance). The action has the form:
C:\Windows\System32\cmd.exe /C start /WAIT /AFFINITY 2 C:\Scripts\Parser.exe
So - the task every 3 hours starts a new instance of the program. Tried in settings to put a "Stop current task"(Stop the existing instance) - still a new process is started, and the old one continues to work.
To do both at the same time was launched only one mission?