Is there a unique MSGID when the instance is stopped. Maybe you could
also dump netstat and look to see what is active by port.

On Wed, Jan 20, 2021 at 1:35 PM Justin Taylor <jtaylor.0ab@xxxxxxxxx> wrote:

BIg picture, I need to ensure a clean startup regardless of how the Apache
instance is stopped. My most recent attempt was to have the startup
program cleanup the associated jobs. Unforunately, my config starts
multiple Apache jobs, so those jobs running the cleanup found new
associated jobs. This resulted in a tangled mess.

The watch idea might work, but I'd need a unqiue MSGID to monitor.
Watching a common message like "job ended" would cause the watch to be
firing way too much.

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.