July 27, 2011, 08:46 AMCharles Richards
Whats the best way to Recycle iway?
Whats the best way to Recycle iway? Our Company needs to recycle iway everynight, Whats the best way to do this so that all the listners go down and comback up clean? if we use the recycle button the iway restarts in the root directory, which is not where we need it to be
Thanks for the help!!
July 27, 2011, 05:55 PMWaz
As an Iway server runs as a service, you shoudl be able set up a schedule to stop and start it.
July 28, 2011, 04:52 PMCharles Richards
What do you mean about set up a schedule?
Thanks for the response
July 28, 2011, 05:56 PMWaz
You are on windows platform, windows has a scheduler. You can create a schedule to stop and start the service. I guess you could google windows service restart schedule, and see what you get, there will be a bucket load of options.
December 10, 2011, 02:40 PMbrandonkirsch
We have two batch files, one to stop ALL IWay services, the other starts up our PRODUCITON IWay services.
Use the Windows Scheduled Tasks (under Control Panel -> Administrative Tools) to schedule the stop and start batch files.
The STOP batch file looks like this:
c:\iway55\bin\iwsrv.exe PD_B2B -s stop
c:\iway55\bin\iwsrv.exe PD_INT -s stop
c:\iway55\bin\iwsrv.exe base -s stop
Important note: Make sure to stop "base" last.
The START batch file looks like this:
c:\iway55\bin\iwsrv.exe base -s start
c:\iway55\bin\iwsrv.exe PD_B2B -s start
Important note: Make sure to start "base" first. Also, you'll notice that our STOP script is setup to stop every IWAY environment we have, while the START script only starts our production B2B environment.
If we need to do any Dev / Test work, we start them up manually, but then the "STOP" batch script will always make sure they get shut down at night.