Hi all-
I am trying to figure out how to modify the code shown below (it runs in a scheduled task on a server)so that if the file SD_XOG_FILE.xml is empty then the script will pause for 5 minutes and try again. If it is not empty it will output to SD_XOG_OUT_WO.xml. I have tried a lot of things with no luck. THANKS!!!
C:\XOG\BIN\xog -servername TESTSERVER01 -portnumber 80 -username ben -password houseboat1 -input C:\xog\SD_XOG_FILE.xml -output C:\xog\SD_XOG_FILE_OUT_WO.xml
I am trying to figure out how to modify the code shown below (it runs in a scheduled task on a server)so that if the file SD_XOG_FILE.xml is empty then the script will pause for 5 minutes and try again. If it is not empty it will output to SD_XOG_OUT_WO.xml. I have tried a lot of things with no luck. THANKS!!!
C:\XOG\BIN\xog -servername TESTSERVER01 -portnumber 80 -username ben -password houseboat1 -input C:\xog\SD_XOG_FILE.xml -output C:\xog\SD_XOG_FILE_OUT_WO.xml