Consultor Eletrônico



Kbase 92663: Lifecycle Event Scripts no PASOE
Autor   Adriano Correa - GCAD BART
Acesso   Público
Publicação   30/05/2019
Permite scripts em eventos de início e fim de uma instância do PAS.

Documento da Progress: https://docs.progress.com/bundle/pas-for-openedge-admin/page/Automate-lifecycle-event-scripts.html

scriptPrefix_startup.bat|sh : Executes when the Tomcat container is started but before any web application context are created.
scriptPrefix_started.bat|sh : Executes when the Tomcat container is started and after all web application contexts are created.
scriptPrefix_stopping.bat|sh : Executes before stopping an instance
scriptPrefix_stopped.bat|sh : Executes after stopping an instance

Dica: nos scripts .bat, colocar um "exit" (sem aspas) no final, senão congela na execução do script.