58 / 5.000 How to prevent the same program from running more than once
Posted: Thu Apr 17, 2025 3:19 pm
I need to perform an access that must be done through the Chrome URL. I created a task that runs the Chrome.exe program and pass the parameter in the URL. The problem is that I need to check if the routine is running from time to time, to prevent it from going down and not going up again. I created the task and put it on a schedule to be triggered every 5 minutes, but what I would like is that if it has already been triggered once and is running/active in the browser, this new call at every 5 minutes does not occur. It should only occur if the Chrome browser is closed. Any ideas or suggestions? Because it keeps opening several tabs in Chrome for the same routine.
Basically I run the program like this:
chrome.exe "http://1XX.1XX.X.XX3:8088/?E=EBTST&P=U_LECODBAR"
It opens Google Chrome and accesses my routine directly in URL,
LECODBAR routine
Basically I run the program like this:
chrome.exe "http://1XX.1XX.X.XX3:8088/?E=EBTST&P=U_LECODBAR"
It opens Google Chrome and accesses my routine directly in URL,
LECODBAR routine