I am currently using windows task scheduler to run a .bat file which then runs a single acsauto report every 2 minutes.
Because of the unreliabity of the Avaya System, the .bat starts by killing off any CMS processes that did not completely close from the previously ran schedule
I want to run the acsauto script and wait for its completion rather than sleeping for 90 seconds and hoping for the best.
Does anyone have a reliable way of doing this?
Scheduled.bat
Because of the unreliabity of the Avaya System, the .bat starts by killing off any CMS processes that did not completely close from the previously ran schedule
I want to run the acsauto script and wait for its completion rather than sleeping for 90 seconds and hoping for the best.
Does anyone have a reliable way of doing this?
Scheduled.bat
taskkill /F /IM ACS* /T
taskkill /F /IM acs* /T
wmic process where name="ACSApp.exe" call terminate
rem Running the realtime report
start "" "C:\Avaya Reports\Realtime.acsauto"
timeout /t 90 /nobreak > NUL
powershell.exe -ExecutionPolicy RemoteSigned -File "Something-else.ps1"