How to automate LANSA web cleanup on a Windows app server ?
Posted: Fri Sep 27, 2024 5:15 am
LANSA on the IBMi has a batch interface for running the LANSA web cleanup documented here https://docs.lansa.com/15/en/lansa085/c ... ek_005.htm so cleanup can be automated when the LANSA subsystem and/or Apache web server is restarted periodically.
On Windows, the documentation at https://docs.lansa.com/15/en/lansa085/c ... s0n010.htm tells me how to interactively run Web cleanup from Web Administrator , but no details on how to automate this from a BAT or Powershell Script run from the Windows Task scheduler.
The cleanup should end and restart the processes below. I noticed that ending and starting IIS did not cause them to stop. I know that Powershell can kill tasks, but the cleanup does cleanup to LANSA internal tables on Windows also. A webevent app is running on the Windows App Server.
On Windows, the documentation at https://docs.lansa.com/15/en/lansa085/c ... s0n010.htm tells me how to interactively run Web cleanup from Web Administrator , but no details on how to automate this from a BAT or Powershell Script run from the Windows Task scheduler.
The cleanup should end and restart the processes below. I noticed that ending and starting IIS did not cause them to stop. I know that Powershell can kill tasks, but the cleanup does cleanup to LANSA internal tables on Windows also. A webevent app is running on the Windows App Server.