Focal Point
Whats the best way to Recycle iway?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/1227094706

July 27, 2011, 08:46 AM
Charles 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!!


WebFOCUS 7.6
Windows, All Outputs
July 27, 2011, 05:55 PM
Waz
As an Iway server runs as a service, you shoudl be able set up a schedule to stop and start it.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

July 28, 2011, 04:52 PM
Charles Richards
What do you mean about set up a schedule?

Thanks for the response


WebFOCUS 7.6
Windows, All Outputs
July 28, 2011, 05:56 PM
Waz
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 10, 2011, 02:40 PM
brandonkirsch
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.