Hello All,
hopefully this is an easy one. I am writing a job which will reset a specific programs parameters. FIrst i execute a file with some switches. This file stops the program from running, makes the changes and exits. After this file is complete i need to restart the program. The task to download and execute the file is working perfectly.
Where i am having trouble is with the script to restart the program after the file runs. I setup a new task "Run Script" and selected Command Script. here is the script, its crude but it should work.
-->
cd c:\program files\myprogram\
myprogram.exe
<--
When this task runs, it starts the program, but then the task continues to run until it times out and returns a failure code of 1. I have added exit, end to the end of the script but on the agent the task continues to run until it fails. Is there something else i need to do to get this to complete? is there a different way to write this?
Thanks J.